Visual Studio for Mac较少编译和其他 [英] Visual Studio for Mac Less Compilation and Other

查看:66
本文介绍了Visual Studio for Mac较少编译和其他的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我正在尝试ASP.Net核心项目;在VS 2017中打开它,然后在新发布的VS for Mac最终版本(都使用企业版级别)上打开它。  我基本上使用DropBox作为共享
解决方案的存储库。


我的主要问题是我可以在Mac端自动获得的等价物编译我的文件少?  在VS 2017方面,我安装了很棒的Web编译器扩展。  我还没有在
VS Mac端找到相同的扩展名。  关于如何让VS for Mac在每次保存时重新编译更少文件的想法?



除了这个问题,我有观察了以下项目:



  • 有时我需要清理解决方案才能正确运行所有内容。  
  • 在某些文件中,我得到以下文件中的典型行结尾不一致的消息。
  • 我收到了Mac端的重复文件编译消息。  这是通过注释掉一些< ItemGroup>来解决的。 csproj文件中的内容条目。  此后似乎没有影响VS 2017方面。  以下是您收到的消息
    :  。NET.Sdk.DefaultItems.targets(188,5):错误:包含重复的"内容"项目。 .NET SDK默认包含项目目录中的"Content"
    项。如果要将它们显式包含在项目文件中,可以从项目文件中删除这些项,或将"EnableDefaultContentItems"属性设置为"false"。

我很喜欢迄今为止我在VS for Mac上所取得的成就,并对我的未来感到兴奋。  


感谢您提出有关文件较少问题的建议!



解决方案

嗨sbroskie,


欢迎来到MSDN论坛。


请参考你的描述,我搜索过并且没有找到任何类似的Visual Studio for Mac的Web编译器扩展,VS for Mac发布时间不长。


由于我们的论坛是讨论Visual Studio WPF / SL Designer,Visual Studio Guidance Automation Toolkit,开发人员文档和帮助系统,以及Visual Studio
编辑,你的问题是关于deve适用于Mac的VS.请重定向到此相应论坛:
Mac版Visual Studio 并点击"报告问题" '为你的问题开始一个新的主题,你将获得更专业的支持你的问题,谢谢你的理解。


如果是这样,请在此处分享链接,这可以帮助其他对此有相同或相似疑虑的社区成员知道了,谢谢你的合作。






祝你好运,


Sara


So I'm experimenting with an ASP.Net Core project; opening it up in VS 2017 and then opening it on the newly released final version of VS for Mac (both using an Enterprise Edition level).  I'm basically using DropBox as the repository for the shared solution.

My main question is here is what is the equivalent I can get on the Mac side to automatically compile my less files?  On the VS 2017 side, I have the awesome Web Compiler extension installed.  I haven't really found an equivalent extension on the VS Mac side.  Any thoughts on how to get VS for Mac to recompile less files every time they are saved?

Other than that question, I have observed the following items:

  • Sometimes I need to clean the solution for the everything to run correctly.  
  • On certain files, I get the typical line endings in the following file are not consistent message.
  • I received the duplicate files compilation message on the Mac side.  This was resolved by commenting out some <ItemGroup> Content entries in the csproj file.  This didn't seem to affect the VS 2017 side afterwards.  Here's the message you receive: .NET.Sdk.DefaultItems.targets(188,5): error : Duplicate 'Content' items were included. The .NET SDK includes 'Content' items from your project directory by default. You can either remove these items from your project file, or set the 'EnableDefaultContentItems' property to 'false' if you want to explicitly include them in your project file.

I'm loving what I've so far been able to accomplish on VS for Mac and am excited about its future.  

Thanks for any advice on the less file question!

解决方案

Hi sbroskie,

Welcome to the MSDN forum.

Refer to your description, I searched around and have not found any similar Web Compiler extension for Visual Studio for Mac, the VS for Mac is released not so long.

Since our forum is to discuss the Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor, your issue is about the development on VS for Mac. Please redirect to this appropriate forum: Visual Studio for Mac and click the ‘Report a problem’ to start a new thread for your issue, and you will get a more professional support for your issue, thank you for your understanding.

If so, please share the link in here and that can help other community members who have the same or similar doubts to know it, thank you for your cooperation.

Best regards,

Sara


这篇关于Visual Studio for Mac较少编译和其他的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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