Now I can understand why you would not want a user to be modifying the Visual Studio project, but why not provide the ability to add new MSBuild files, and allow for these files to editted within Visual Studio using the XML editor and providing intellisense, and then more importantly provide the ability to execute an MSBuild file independant of a project.
This would then cater for the development of more advanced build files and essentially providing majority of the features that people would normally use NAnt for, but from within the Visual Studio environment. Matthew Winter. Thursday, March 31, AM. Matthew, You can achieve most of what you need in VS some things will get a little smoother in the final release, but all are possible from Beta 2 onwards.
I hope that helps! Monday, April 4, PM. Friday, June 9, PM. Asked 6 years, 4 months ago. Active 6 years, 4 months ago. Viewed times. Improve this question. Hi, can you explain a bit for what kind of scenario you're trying to implement? There might be easier way to achieve the result.
If you're trying to modify your build process on-the-fly - it won't work because once you starting your build - all scripts are parsed and form in-memory model - so even if you'll change the original file - that doesn't affect the build flow.
I need to delete some items in ItemGroup. What are you trying to achieve from high-level perspective? If this is for conditional build - it'd be easier to put Condition attribute on your project references item group so they will participate in the build only when condition is true e.
Add a comment. View all page feedback. In this article. Optional String parameter. Specifies the namespaces for XPath query prefixes. The attribute Prefix specifies the prefix to associate with the namespace specified in Uri attribute. Do not use an empty Prefix. Required ITaskItem parameter.
0コメント