-
Notifications
You must be signed in to change notification settings - Fork 156
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
Update for VS2015. Removing a bug from _getCurrentProject() (Project … #282
base: master
Are you sure you want to change the base?
Conversation
…was null in some cases).
Hi, thanks for the PR. Quite a big one! Can you elaborate pls on the objective? |
Hi, Martin. There's a bug on the extension. I replaced the old code by a more robust one that solves the error. Additionally, I updated the solution based on some other issues I've seen here. Now i18n.POTGenerator works on VS2015 with no problems. |
Martin, I forgot to change an additional manifest file. Now everything is tested and working. |
Hi Cigano, I've just realised most of the changes were a consequence of the backup folder being created which was freaking me out a bit. The commit also does more than one thing which isn't ideal. Sorry to be anal but it would help if you would resubmit as two separate commits/PRs and also no need for the Backup folder and contents. Also, do you know if the mods for 2015 VSIX will be backward compatible with VS2013 and even VS2012? If not, how about a separate project for at least VS2013 and VS2015? Thanks. |
Hi, Martin. You can just ignore the Backup folder. It was included by my mistake. VS generated the folder when I opened the project in VS2015. By the way, I configured the package to be backwards compatible with VS2012 and VS2013. I used the package with no problems with my students with these modifications. |
@@ -1,7 +1,7 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> | |||
<PropertyGroup> | |||
<MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion> | |||
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Presumably this line will prevent the project opening in VS2013 and lower?
Yes. VS2015 did that. Not me. Which minimal version should I set? |
Unfortunately this does seem to break the build on VS2013. Here's the build output:
I don't have time right now to dig into this. Would it be possible to separate out the POTGenerator bug fix from the upgrade? Then possibly have separate projects for the parts that are IDE-specific/sensitive? Or can you fix so it builds on VS2013 and 2015? Thanks. |
…was null in some cases).