本文介绍了用于sfproj扩展的MSBuildWorkspace.AssociateFileExtensionWithLanguage的语言parm的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试使用MSBuildWorkspace作为服务结构项目类型。


遇到异常 


无法打开项目'C:\\ \\ xxx \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\请参阅msbuildworkspace提供关联语言的选项,如下所示,但无法识别应该是什么语言。


msbWorkspace.AssociateFileExtensionWithLanguage(" sfproj"," ?????" )。



有人可以帮助我填写????? :)



谢谢,

解决方案

Trying to use MSBuildWorkspace for service fabrics project type.

encountered below exception 

Cannot open project 'C:\xx\xx\Dev\Source\xx\xx/xx.sfproj' because the file extension '.sfproj' is not associated with a language.

i could see msbuildworkspace give an option to associate language as below but, unable to identify what should be the language.

msbWorkspace.AssociateFileExtensionWithLanguage("sfproj", "?????").

can someone help me fill ????? :)

Thanks ,

解决方案


这篇关于用于sfproj扩展的MSBuildWorkspace.AssociateFileExtensionWithLanguage的语言parm的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 19:49