VS. The .user file causes unnecessary assemblies.

There are several messages regarding Visual Studio projects when this is not necessary. However, none of them covers this issue.

I am running Visual Studio 2012 Professional Update 4.

In my solution, I have a unit test project that has a link to a BizTalk Transforms project project. This in turn has a link to the BizTalk project project.

Every time I choose to run unit test, the whole solution is built, even if no changes have been made.

The first line displayed in the assembly window is as follows:

The input file 'C: \ Workspaces \ rbowman \ Branches \ Current-branchRB \ WAREHOUSE \ FFF.Enterprise.WareHouse.Schemas \ FFF.Enterprise.WareHouse.Schemas.btproj.user' changes after the output file 'C: \ Workspaces \ rbowman \ Branches \ Current-branchRB \ WAREHOUSE \ FFF.Enterprise.WareHouse.Schemas \ Bin \ Release \ FFF.Enterprise.WareHouse.Schemas.pdb '.

Note: this is a .user file causing a reconnection. Does anyone know how to prevent this? Strange, but I only see a problem with BizTalk proj files. I see this behavior in several solutions, but the problem file is always identified as btproj.user.

This screencast illustrates the problem: screencast link

+4
3

, , " ", Explorer .

enter image description here

0

*.user .

.

0

I had the same problem. BizTalk projects insist on updating the btproj.user file on each assembly, which leads to a complete rebuild every time.

I solved the problem with the following workaround: Check the Write ACL checkbox on Deny. The assembly cannot update the file, and projects are only created when it is really needed.

In my case, the build time increased from 10 minutes to 2.

0
source

Source: https://habr.com/ru/post/1617055/


All Articles