6
我試圖安裝.msi
包我的<Project>
元素中進口MSBuild.Community.targets
這種方式後,這樣的權利,開始趁着MSBuild Community Tasks
內進行的MSBuild社區任務本地依賴性:避免的Visual Studio 2010
<Import Project="lib\MSBuild.Community.Tasks.targets" />
有趣的是,我注意到這個文件在MSBuildExtensionsPath
中有一個對本地安裝路徑的引用,並且爲了代替儘可能保持代碼依賴性,我願意爲每個項目分配/版本化開銷,我是想知道是否有可能通過項目rel來覆蓋默認/安裝位置一個在.cproj
文件中的?
實際的佈局將是這樣的:
Dotnet.Samples.Foobar
\src
Foobar.cs
\lib
MSBuild.Community.Tasks.targets
MSBuild.Community.Tasks.dll
任何指導,將衷心感謝。非常感謝您提供可能想要分享的任何建議。
感謝多的貢獻,它的工作如預期。 – 2011-04-12 19:10:30