dotnet / dotnet/project-system
Unable to load sdk-style project
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
After creating a new empty project in the SDK-style (file -> new project -> netstandard library), trying to open it in VS gives this error:
There is no project properties provider for "Persistence = ImplicitProjectFile".
Full log:
```
=====================
7/9/2018 11:43:38 AM
LimitedFunctionality
System.AggregateException: Project system data flow 'SourceItems: 2255' closed because of an exception: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: There is no project properties provider for "Persistence = ImplicitProjectFile".
at Microsoft.Verify.FailOperation(String message, Object[] args)
at Microsoft.VisualStudio.ProjectSystem.PropertyPages.ProjectInstancePageRule.GetProjectPropertiesProvider(DataSource dataSource)
at Microsoft.VisualStudio.ProjectSystem.PropertyPages.ProjectInstancePageRule.GetDataSourceConnector(DataSource dataSource, Boolean& pretranslatedPersistedName, String& defaultProjectPath)
at Microsoft.VisualStudio.ProjectSystem.PropertyPages.PageRuleBase.GetPropertyValueAsync(String propertyName)
at Microsoft.VisualStudio.ProjectSystem.Designers.ProjectEvaluationSubscriptionService.BuildPropertiesSnapshot(IRule rule, ImmutableDictionary`2 previousVersion, IImmutableSet`1& changedProperties)
at Microsoft.VisualStudio.ProjectSystem.Designers.ProjectEvaluationSubscriptionService.UpdateRuleSnapshotCore(IProjectVersionedValue`1 source, String ruleName, IRule rule, ImmutableDictionary`2 items, ImmutableDictionary`2 properties, ImmutableList`1 recentItemRenames, IProjectVersionedValue`1 previousSource, IProjectChangeDiff& diff)
[snip]
===================
```
Contributor guide
Assessment
This issue has not been assessed yet.