Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix RIDER-26102, RIDER-26109, RIDER-26103 #1108

Merged
merged 3 commits into from
Mar 28, 2019
Merged

fix RIDER-26102, RIDER-26109, RIDER-26103 #1108

merged 3 commits into from
Mar 28, 2019

Conversation

van800
Copy link
Contributor

@van800 van800 commented Mar 27, 2019

No description provided.

fix RIDER-26109
@van800 van800 added this to the Rider 2019.1 milestone Mar 27, 2019
@van800 van800 self-assigned this Mar 27, 2019
@van800 van800 changed the title fix null-ref RIDER-26102, RIDER-26109 fix null-ref RIDER-26102, RIDER-26109, RIDER-26103 Mar 27, 2019
@van800 van800 changed the title fix null-ref RIDER-26102, RIDER-26109, RIDER-26103 fix RIDER-26102, RIDER-26109, RIDER-26103 Mar 27, 2019
@van800 van800 merged commit cb01210 into 191 Mar 28, 2019
@van800 van800 deleted the 191-fix-exceptions branch March 28, 2019 04:35
@@ -40,7 +40,7 @@ public static bool HasUnityReference([NotNull] this ISolution solution)
public static bool IsUnityProject([CanBeNull] this IProject project)
{
// Only VSTU adds the Unity project flavour. Unity + Rider don't, so we have to look at references
return project != null && (project.HasFlavour<UnityProjectFlavor>() || ReferencesUnity(project));
return project != null && (project.HasFlavour<UnityProjectFlavor>() || project.IsValid() && ReferencesUnity(project));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would project be invalid here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing/incompatible msbuild?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, would we still have a project in that case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know, I can't reproduce it for real

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants