Skip to content

Commit

Permalink
Merge pull request premake#8 from LORgames/ssurtees/fixedCSUserFileGe…
Browse files Browse the repository at this point in the history
…neration

Passes correct function to generate C# user file
  • Loading branch information
TurkeyMan committed Sep 17, 2015
2 parents 8812b0e + 14ee04a commit 6a33c95
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/monodevelop/monodevelop.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@

if project.isdotnet(prj) then
p.generate(prj, ".csproj", vstudio.cs2005.generate)
p.generate(prj, ".csproj.user", vstudio.cs2005.generate_user)
p.generate(prj, ".csproj.user", vstudio.cs2005.generateUser)
elseif project.iscpp(prj) then
p.generate(prj, ".cproj", m.generate)
end
Expand Down
8 changes: 8 additions & 0 deletions modules/monodevelop/tests/test_project.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,11 @@
<Target>Bin</Target>
]]
end


-- Ensure we don't crash generating the C# project files
function suite.OnProject_CS_UserFile()
language "C#"
prepare()
monodevelop.generateProject(prj)
end

0 comments on commit 6a33c95

Please sign in to comment.