问题标签 [sidewaffle]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
52 浏览

nancy - 南希空自托管 - System.AccessViolationException

我在管理员模式下使用 Visual Studio 2015 社区版。我安装了SideWaffle Template Pack v1.21.400。我创建了一个新的Nancy Empty Self Host Project。以下是源代码:

在执行时,我收到System.AccessViolationExceptionhost.Start();显示以下消息:

尝试读取或写入受保护的内存。这通常表明其他内存已损坏。

当我使用其他 Nancy 模板创建项目时,我得到了同样的例外。如果我创建一个控制台应用程序(不使用 Nancy 模板)并引用 Nancy dll,它工作正常。这应该如何解决?

0 投票
0 回答
88 浏览

c# - 自定义脚手架 xproj 项目

我正在尝试在 Visual Studio 中为我的 asp.core 项目编写自定义脚手架。我创建了新的可扩展性项目,它使用 SideWaffle 模板来生成文件和必要的人员。我有一条线的问题。我的 CodeGenerator 上下文无法从 xproj 项目中获取有效的 codeLanguage。Csproj 项目工作正常。也许有人有类似的问题,可以帮助我吗?

0 投票
1 回答
59 浏览

visual-studio - Visual Studio 项模板仅适用于控制台应用程序

我目前正在整理一个 .vsix,其中包含使用 SideWaffle 和 TemplateBuilder v1.1.4.9-beta 的各种项目和项目模板。在实验实例中运行项目时,我可以看到所有项目模板应该在的位置,但项目模板在“添加新项目”对话框中对于除控制台应用程序之外的任何项目类型均不可用。如果我将项目编译为版本 .vsix 并以传统方式为 Visual Studio 安装它,则行为是相同的。

一个示例模板的文件夹结构供参考:

在此处输入图像描述

CSharp.vestemplate 的内容:

我已经尝试过:

  • 在 .vstemplate 中设置 ShowByDefault、ProjectSubType 和 TemplateGroupID 的值
  • 摆弄文件夹结构
  • 逐行比较我的 .csproj 和 .vsixmanifest 文件与其他模板包的文件,例如 SideWaffle

但到目前为止一切都无济于事。

0 投票
1 回答
36 浏览

c# - How to develop website compatible with mobile using asp.net and c#

i have got to develop website ASP NET C# with webpages compatibles with mobile

i working with this article Visual Studio Tools for Bootstrap

i have installed on project the SideWaffle.Creator 2017 but i don't find new Item ASP.NET Scaffolding T4 Files and the folder SideWaffle don't exists on the project

Please help

enter image description here