简体   繁体   English

Visual Studio表示,在解析数据库模型之前,无法运行文件生成器。 为什么?

[英]Visual Studio says file generators cannot be run until database model is resolved. Why?

Sometimes when I try to run a T4 template inside a Sql Server project, I get this message: 有时,当我尝试在Sql Server项目中运行T4模板时,会收到以下消息:

在此处输入图片说明

I tried googling this and found no results at all. 我尝试使用Google搜索,但完全没有结果。

What does that even means? 那甚至意味着什么? And why does it happens? 为什么会这样呢?

Okay so it seems to appear only when VS is analysing the project's structure. 好的,因此似乎仅在VS分析项目结构时才会出现。 When it's done the TT can run without this dialog showing up. 完成后,TT可以运行而不会显示此对话框。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM