![](/img/trans.png)
[英]Debug Typescript (or JavaScript) with a “Web Site Project” in Visual Studio
[英]how to include net web site source files in Visual Studio project
我已经从我的客户的httpdoc文件夹下载了一个外部Web解决方案。
现在,我需要在Visual Studio 2013/2015中对其进行编辑,但是我不知道如何集成它们。
他们的htdocs文件和文件夹;
global.asax
package.config
web.config
gruntfile.js bower.json
package.json
./app/components/account/
logincontroller.html
login.js
register.html
registercontroller.js *and some more......)
./app/components/home/
indexcontroller
index.js
and some more......)
./app/components/shared/
headercontroller.js
header.html
more file like this......)
./app/components/
... and more folders
./app/services/
ajaxService.js
services.js and
..a lot more .js files)
./app/vendors/
angular, bootstrap, jquery stuff)
./bin/
EntityFramework.dll
System.web.razor.dll
...and more dll's
对我来说,这看起来像MVC,但是我不了解其文件夹结构
但是,我需要在VS中编辑,调试和运行源,并且我不知道如何包括它。 我是否需要创建一个简单的项目(类型?)并复制并粘贴,或者这将如何工作。
你能给我建议吗?
我不确定我是否理解您的问题,但是我猜您有使用AngularjS的ASP.NET MVC项目。 右键单击解决方案资源管理器中现有项目的路径,然后添加现有文件。 警告:您可能还需要包括dll文件。
我同意梅森。 可能应该只将文件添加到现有项目中。
看起来像一个Angular SPA。 可能没有.Net方面(即VS仅用作编辑器)。 只需将文件复制到新的VS项目中即可。 如果它具有与其关联的已编译代码,则将很难重现.Net代码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.