these days pondering. NET open-source interface Framework when Fluent.ribbon found that people compiled output files are concentrated in a build folder, but previously specified the compilation generated by the final assembly path, However, the compiler-generated intermediate files are always in the obj folder under the project folder, the project properties can be changed just a few. At first I guess it must be . csproj File There is an article, since this file is originally a file based on XML standards, then we open the text as a look. compared with the Fluent.ribbon . csproj file, there was a discovery. People in the first <PropertyGroup>...</PropertyGroup> tag more than a <baseintermediateoutputpath> \build\obj\net 4.5</baseintermediateoutputpath> 's label. Here is the step I tried (my development tool is VS2013):
================================= First cut for ===================================
As shown, this is the default compilation path for VS, there are two gray folders in the right Red Square bin and obj (please click on the button at the green Arrow first), he is why he must not use my nonsense.
Figure A
Next, I opened the . csproj file with Sublime Text , as shown in two.
Figure II
In figure II, a number of <PropertyGroup>...</PropertyGroup> tags are included. The <outputpath>...</outputpath> in two tags specifies the output path of the assembly generated by debug compilation and release compilation. If the reader modifies the build platform, the tag may differ. But they're all very similar. Next I modified the output assembly path label and added < to the first <PropertyGroup>...</PropertyGroup> tag Baseintermediateoutputpath>, .... \build\obj</BaseIntermediateOutputPath> tags , shown in three.
Might
Then switch to the VS window, at which point the IDE tells us that the file was modified by an external program, at which point we select Reload all, as shown in four.
Figure Four
Then delete the two folders (Bin, obj) in the Red Square on the right, as shown in five.
Figure Five
Recompile the build project, where you open the folder where the project file is located, and you will see that the compiler did not produce the bin and obj file outputs, but instead output the files to the build folder under the project solution root. As shown in six.
Figure Six
This project document:VisualStudio.Project.Output.Demo.zip
PS:WPF Engineering and WinForm Engineering can be modified through the above methods, the remaining projects I have not tried, with interest in children's shoes may try, convenient words also tell me:)
Visual Studio. NET assembly Output Path configuration