using Visual Studio to copy files? -


I want to create a visual studio (I am using VSTS 2008), which is a file copy in more reports,

How to make any thoughts in VSTS

< P>

P> BTW: I've heard using Prosecut file that this may be such a thing, but I have not found any good simple to learn samples for beginners . : -)

Thanks in advance, George

You can add a post build Step into Visual Studio:

  • Open the project properties (it works in the C # project, I also guess for VB.NET, it also applies).
  • Select the Build Events tab
  • There you can add a post build event command, for example

    Copy $ (ProjectDir) \ $ (ProjectDir) is a macro, some more are available, they will be shown when you edit a command.

    Then, if you take a look at that project file (XYZ.csproj or XYZ.vbproj), you can see the properties group added at the bottom of the file, such as:

      & lt; PropertyGroup & gt; & Lt; PostBuildEvent & gt; Copy $ (ProjectDir) \ bin \ * SOME_OTHER_FOLDER \ * & lt; / PostBuildEvent & gt; & Lt; / PropertyGroup & gt;  

    It is exactly like when you edit the MSBuild file directly. Note that you do not need to launch Visual Studio to copy and create your files, Just can pass in MSBuel.XE.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -