将VS2012项目导入到monodevelop时无法使用"CS1566"进行编译. [英] import of VS2012 project to monodevelop failes to compile with "CS1566"

查看:60
本文介绍了将VS2012项目导入到monodevelop时无法使用"CS1566"进行编译.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将Visual Studio 2012 csproj文件导入Monodevelop.一切正常,直到我编译为止.当我编译项目时,它会为第一种形式生成1个* .resources文件,但对于以下形式,则不会生成* .resources文件,并且编译失败并

I tried to import a Visual Studio 2012 csproj file to Monodevelop. Everything works fine until I compile. When I compile the project, it generates 1 *.resources file for the first form, but for the following forms, no *.resources files are generated and the compile fails with

读取资源文件时出错...-系统找不到文件(CS1566)

Error reading the resource file ... -- the system can't finde the file (CS1566)

(对不起-我必须从德语翻译)

(sorry - I had to translate from German)

我该如何解决?

关于托比亚,

推荐答案

我在Google上遇到了同样的问题,并且找到了以下链接:

I had the same issue, I googled, and I found this link: https://github.com/gitextensions/gitextensions/issues/1751

如此处所说,您必须在MonoDevelop中使用XBuild(转到Tools-> Options-> Projects-> Build).那为我解决了问题.

as it says there, you have to use XBuild in MonoDevelop (go to Tools->Options->Projects->Build). That solved the problem for me.

这篇关于将VS2012项目导入到monodevelop时无法使用"CS1566"进行编译.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆