Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command line to execute Dotless compiler
Message
De
09/01/2014 13:20:30
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Visual Studio
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01591418
Message ID:
01591578
Vues:
40
No, there is no file that's MSBuild that's part of your project. MSBuild is the exe (location varies with version of .Net) and how MSBuild is used varies by version (I should write a blog post on this).

But the schema of an MSBuild file is the same as a VS project file. They are one and the same. When you make changes to the project like I suggested, the changes are made to your project file (csproj, vbproj, etc).

You can edit the file directly in VS.

1. Open the solution as normal in VS.
2. Right-click on the project in solution explorer and select unload
3. Right-click on the project in solution explorer and select Edit
4. Go to the bottom of the file. You'll see the following entries
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
If you've modified the project in Project Properties, the node will already be uncommented.
5. When you're done, save the file and close it
6. Right-click on the project in Solution Explorer and select Reload Project

>I tried to search for MSBuild*.* in all my projects folders and sub-folders but can't find it.
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform