由网友(琴冷弦涩)分享简介:问题是相对于References in Roslyn .rsp files确实安装了Roslyn,玩弄:C:用户AmeDocumentsMicrosoft代号Roslyn CTP-2011年10月CSharpWpfSeedReepl漫游:http://msdn.microsoft.com/ru-ru/hh543...问题是相对于
References in Roslyn .rsp files
确实安装了Roslyn,玩弄: C:用户 AmeDocumentsMicrosoft代号Roslyn CTP-2011年10月CSharpWpfSeedReepl 漫游:http://msdn.microsoft.com/ru-ru/hh543924。
我无法加载当前的DLL和CSX:
> #r "wpfseed.exe" (1,1): error CS0006: Metadata file 'wpfseed.exe' could not be found > #load "setup.csx" Specified file not found. Searched in directory: C:Users ame >
另一方面:
> Console.WriteLine(Environment.CurrentDirectory); C:Users ameDocumentsMicrosoft Codename Roslyn CTP - October 2011CSharpWpfSeedRepl
是否有不指定项目文件夹的解决方法?
推荐答案
免责声明:我在微软罗斯林团队工作。
目前没有从交互窗口中更改搜索路径的方法。但是,我们正在考虑在将来添加一个这样做的命令。目前,路径的根目录是您的用户目录("C:USERS 您可以使用该目录中的相对路径。此外,您可以使用带有"."的相对于进程当前目录的路径,并且可以使用Environment.CurrentDirectory = "<your path>"
。
例如:
Environment.CurrentDirectory = @"C:Users
ameDocumentsMicrosoft Codename Roslyn CTP - October 2011CSharpWpfSeedRepl";
#r ".wpfseed.exe"
#load ".setup.csx"
希望这能有所帮助!
相关推荐
最新文章