fixing image
This commit is contained in:
Andrew-MSFT 2017-03-07 10:49:22 -08:00 коммит произвёл GitHub
Родитель 5d2205e88d
Коммит a516d0add8
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -48,7 +48,7 @@ Upgrade the project to use SQL Server Express LocalDB 2016, or manually download
### Remote profiling to Azure App Service does not work
* #### Issue:
* #### Issue:
Remote profiling to Azure App Service from Cloud Explorer or Server Explorer displays the error "Cannot access a disposed error".
* #### Workaround:
@ -149,7 +149,7 @@ Specify a valid DbContext type.
### Scaffolded files not included in project
* #### Issue:
If the project has a globbing pattern for ```<Compile>``` item group with a exclude pattern, and the files generated by scaffolding match the pattern, they are not included in the project. For example: If a project has ```<Compile Include = "**/*.cs" Exclude="ExcludedDir/*.cs" />``` and scaffolding generates a file in 'DefaultController.cs' ExcludedDir, it will not be included in the project for compilation.
If the project has a globbing pattern for ```<Compile>``` item group with a exclude pattern, and the files generated by scaffolding match the pattern, they are not included in the project. For example: If a project has ```<Compile Include = "**/*.cs" Exclude="ExcludedDir/*.cs" />``` and scaffolding generates a file in 'DefaultController.cs' ExcludedDir, it will not be included in the project for compilation.
* #### Workaround:
Manually adjust the globbing pattern to include the 'ExcludedDir/DefaultController'
@ -158,7 +158,7 @@ Manually adjust the globbing pattern to include the 'ExcludedDir/DefaultControll
* #### Issue:
If the DataContext class has a member (property, method, variable) defined with the same name as the Model class being used for scaffolding fails with an error as below:<br/>
![amiguity error dialog](./images/vs2017-ambiguity-error.png) <TO FIX>
![amiguity error dialog](./images/vs2017-ambiguity-error.png)
* #### Workaround:
Add a DbSet<> property to the DataContext class for the model which will be used for scaffolding manually and then retry scaffolding