Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
For our site we do very limited development from Visual Studio. ModelsBuilder is InMemoryAuto, all templates and partial views are edited in the backoffice, and all page and media edits are done in backoffice as well. However, when we do make VS changes and publish our site to folder it takes almost 30 minutes, 20 of which is spend on the uSync folder. I'm happy with usync on the published site, but how do I ignore it when building and publishing from the VS solution?
just exclude it from the project it then won't get published.
Righ click on the folder in Solution explorer and select "Exclude from project" in the context menu
I've tried that and I still get "Copying uSync files: #46025 files" when I publish. I also just tried editing the .csproj file to never copy to output directory and they still publish.
<Compile Remove="uSync\**" CopyToOutputDirectory="Never" />
<Content Remove="uSync\**" CopyToOutputDirectory="Never" />
<None Remove="uSync\**" />
I think uSync has a. Targets file that ensures the files are included when you trigger a publish from Visual Studio...
I guess uSync can't risk individual files being missed...
Marking this as the answer. In the end I deleted the contents of the uSync folder in the solution as it's the uSync folder in the published site that we care about.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted