我有一个问题,对我来说这很奇怪!
我在两个不同的地方有2个解决方案.它们两个相似,但其中一个比另一个更老.
当我在它上面运行一个Kendo Grid时,新版本出现了问题.但是当我在新版本旁边打开旧版本的解决方案时,我强调只是打开没有运行,新版本会没问题!
对我来说,如何解决这个问题以及另一个解决方案如何通过打开解决方案来解决这个问题非常奇怪?
我认为有些东西已经损坏但我不知道,那是什么.
我怎么解决这个问题?
我在两个不同的地方有2个解决方案.它们两个相似,但其中一个比另一个更老.
当我在它上面运行一个Kendo Grid时,新版本出现了问题.但是当我在新版本旁边打开旧版本的解决方案时,我强调只是打开没有运行,新版本会没问题!
对我来说,如何解决这个问题以及另一个解决方案如何通过打开解决方案来解决这个问题非常奇怪?
我认为有些东西已经损坏但我不知道,那是什么.
我怎么解决这个问题?
我已经为Asp.net MVC使用了Visual Studio 2013,C#和Kendo.
Jahan.Blog.sln file: (new version)
Microsoft Visual Studio Solution File,Format Version 12.00 Visual Studio 2013 VisualStudioVersion = 12.0.31101.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jahan.Blog.Model.DbFirst","Applications\Jahan.Blog.Model.DbFirst\Jahan.Blog.Model.DbFirst.csproj","{EE04EA76-1CFE-4484-B6C5-7C5232B3F1C4}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jahan.Blog.Model","Applications\Jahan.Blog.Model\Jahan.Blog.Model.csproj","{944336E2-DC84-451C-BB1D-86C619A1770D}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jahan.Blog.Web.Mvc","Applications\Jahan.Blog.Web.Mvc\Jahan.Blog.Web.Mvc.csproj","{09F658AE-5DDD-44DA-950D-6C3CF1259206}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jahan.Blog.Web.TestHtml","Applications\Jahan.Blog.Web.TestHtml\Jahan.Blog.Web.TestHtml.csproj","{69D02E00-1663-464B-B07A-C129B8D29C8D}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test.HtmlPage","Applications\Test.HtmlPage\Test.HtmlPage.csproj","{5C1E487D-6421-470E-9398-11CB230D5435}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Blog","Blog","{790963C2-9AB6-440E-96B3-48A29CF9663A}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ProjectsForTest","ProjectsForTest","{F7F4128F-4141-434A-9655-8BA7B6806570}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Infrastructure","Infrastructure","{C3F7006C-B13C-447E-BABB-6561B38EB71B}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jahan.Infrastructure.DataAccess","Applications\Jahan.Infrastructure.DataAccess\Jahan.Infrastructure.DataAccess.csproj","{511E08CF-B782-49AF-BA10-E52BCDA4140D}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jahan.Infrastructure.Entity","Applications\Jahan.Infrastructure.Entity\Jahan.Infrastructure.Entity.csproj","{C535FF81-2D39-4EB7-8342-63C76A3CE5D6}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jahan.Blog.DataAccess","Applications\Jahan.Blog.DataAccess\Jahan.Blog.DataAccess.csproj","{FFDEF719-387C-4E9D-AAA1-83175CFC74C1}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jahan.Blog.viewmodel","Applications\Jahan.Blog.viewmodel\Jahan.Blog.viewmodel.csproj","{AF29C1B7-3958-46E7-AB56-D98875C2BEAF}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jahan.Infrastructure.Helper","Applications\Jahan.Infrastructure.Helper\Jahan.Infrastructure.Helper.csproj","{A734297F-B425-4396-8B0F-7DDF9AED5CF7}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jahan.Blog.Common","Applications\Jahan.Blog.Common\Jahan.Blog.Common.csproj","{AF0CF334-2694-47D9-B4C7-FF371327DA36}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jahan.Infrastructure.Identity","Applications\Jahan.Infrastructure.Identity\Jahan.Infrastructure.Identity.csproj","{FADF2BF8-8102-4045-B075-1619696C3D01}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jahan.Blog.BLL","Applications\Jahan.Blog.BLL\Jahan.Blog.BLL.csproj","{2F19C372-358F-4632-A0F9-6631BBB4F492}" EndProject Global GlobalSection(SourceCodeControl) = preSolution SccNumberOfProjects = 14 SccProjectUniqueName0 = Applications\\Test.HtmlPage\\Test.HtmlPage.csproj SccProjectTopLevelParentUniqueName0 = Jahan.Blog.sln SccProjectName0 = \u0022$/Blog/Jahan.Blog.root/Jahan.Blog/Applications/Test.HtmlPage\u0022,\u0020MLAAAAAA SccLocalPath0 = Applications\\Test.HtmlPage SccLocalPath1 = . SccProjectUniqueName2 = Applications\\Jahan.Blog.BLL\\Jahan.Blog.BLL.csproj SccProjectTopLevelParentUniqueName2 = Jahan.Blog.sln SccLocalPath2 = . SccProjectFilePathRelativizedFromConnection2 = Applications\\Jahan.Blog.BLL\\ SccProjectUniqueName3 = Applications\\Jahan.Blog.Common\\Jahan.Blog.Common.csproj SccProjectTopLevelParentUniqueName3 = Jahan.Blog.sln SccLocalPath3 = . SccProjectFilePathRelativizedFromConnection3 = Applications\\Jahan.Blog.Common\\ SccProjectUniqueName4 = Applications\\Jahan.Blog.DataAccess\\Jahan.Blog.DataAccess.csproj SccProjectTopLevelParentUniqueName4 = Jahan.Blog.sln SccLocalPath4 = . SccProjectFilePathRelativizedFromConnection4 = Applications\\Jahan.Blog.DataAccess\\ SccProjectUniqueName5 = Applications\\Jahan.Blog.Model.DbFirst\\Jahan.Blog.Model.DbFirst.csproj SccProjectTopLevelParentUniqueName5 = Jahan.Blog.sln SccLocalPath5 = . SccProjectFilePathRelativizedFromConnection5 = Applications\\Jahan.Blog.Model.DbFirst\\ SccProjectUniqueName6 = Applications\\Jahan.Blog.Model\\Jahan.Blog.Model.csproj SccProjectTopLevelParentUniqueName6 = Jahan.Blog.sln SccLocalPath6 = . SccProjectFilePathRelativizedFromConnection6 = Applications\\Jahan.Blog.Model\\ SccProjectUniqueName7 = Applications\\Jahan.Blog.viewmodel\\Jahan.Blog.viewmodel.csproj SccProjectTopLevelParentUniqueName7 = Jahan.Blog.sln SccLocalPath7 = . SccProjectFilePathRelativizedFromConnection7 = Applications\\Jahan.Blog.viewmodel\\ SccProjectUniqueName8 = Applications\\Jahan.Blog.Web.Mvc\\Jahan.Blog.Web.Mvc.csproj SccProjectTopLevelParentUniqueName8 = Jahan.Blog.sln SccLocalPath8 = . SccProjectFilePathRelativizedFromConnection8 = Applications\\Jahan.Blog.Web.Mvc\\ SccProjectUniqueName9 = Applications\\Jahan.Blog.Web.TestHtml\\Jahan.Blog.Web.TestHtml.csproj SccProjectTopLevelParentUniqueName9 = Jahan.Blog.sln SccLocalPath9 = . SccProjectFilePathRelativizedFromConnection9 = Applications\\Jahan.Blog.Web.TestHtml\\ SccProjectUniqueName10 = Applications\\Jahan.Infrastructure.DataAccess\\Jahan.Infrastructure.DataAccess.csproj SccProjectTopLevelParentUniqueName10 = Jahan.Blog.sln SccLocalPath10 = . SccProjectFilePathRelativizedFromConnection10 = Applications\\Jahan.Infrastructure.DataAccess\\ SccProjectUniqueName11 = Applications\\Jahan.Infrastructure.Entity\\Jahan.Infrastructure.Entity.csproj SccProjectTopLevelParentUniqueName11 = Jahan.Blog.sln SccLocalPath11 = . SccProjectFilePathRelativizedFromConnection11 = Applications\\Jahan.Infrastructure.Entity\\ SccProjectUniqueName12 = Applications\\Jahan.Infrastructure.Helper\\Jahan.Infrastructure.Helper.csproj SccProjectTopLevelParentUniqueName12 = Jahan.Blog.sln SccLocalPath12 = . SccProjectFilePathRelativizedFromConnection12 = Applications\\Jahan.Infrastructure.Helper\\ SccProjectUniqueName13 = Applications\\Jahan.Infrastructure.Identity\\Jahan.Infrastructure.Identity.csproj SccProjectTopLevelParentUniqueName13 = Jahan.Blog.sln SccLocalPath13 = . SccProjectFilePathRelativizedFromConnection13 = Applications\\Jahan.Infrastructure.Identity\\ EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any cpu = Debug|Any cpu Release|Any cpu = Release|Any cpu EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {EE04EA76-1CFE-4484-B6C5-7C5232B3F1C4}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {EE04EA76-1CFE-4484-B6C5-7C5232B3F1C4}.Debug|Any cpu.Build.0 = Debug|Any cpu {EE04EA76-1CFE-4484-B6C5-7C5232B3F1C4}.Release|Any cpu.ActiveCfg = Release|Any cpu {EE04EA76-1CFE-4484-B6C5-7C5232B3F1C4}.Release|Any cpu.Build.0 = Release|Any cpu {944336E2-DC84-451C-BB1D-86C619A1770D}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {944336E2-DC84-451C-BB1D-86C619A1770D}.Debug|Any cpu.Build.0 = Debug|Any cpu {944336E2-DC84-451C-BB1D-86C619A1770D}.Release|Any cpu.ActiveCfg = Release|Any cpu {944336E2-DC84-451C-BB1D-86C619A1770D}.Release|Any cpu.Build.0 = Release|Any cpu {09F658AE-5DDD-44DA-950D-6C3CF1259206}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {09F658AE-5DDD-44DA-950D-6C3CF1259206}.Debug|Any cpu.Build.0 = Debug|Any cpu {09F658AE-5DDD-44DA-950D-6C3CF1259206}.Release|Any cpu.ActiveCfg = Release|Any cpu {09F658AE-5DDD-44DA-950D-6C3CF1259206}.Release|Any cpu.Build.0 = Release|Any cpu {69D02E00-1663-464B-B07A-C129B8D29C8D}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {69D02E00-1663-464B-B07A-C129B8D29C8D}.Debug|Any cpu.Build.0 = Debug|Any cpu {69D02E00-1663-464B-B07A-C129B8D29C8D}.Release|Any cpu.ActiveCfg = Release|Any cpu {69D02E00-1663-464B-B07A-C129B8D29C8D}.Release|Any cpu.Build.0 = Release|Any cpu {5C1E487D-6421-470E-9398-11CB230D5435}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {5C1E487D-6421-470E-9398-11CB230D5435}.Debug|Any cpu.Build.0 = Debug|Any cpu {5C1E487D-6421-470E-9398-11CB230D5435}.Release|Any cpu.ActiveCfg = Release|Any cpu {5C1E487D-6421-470E-9398-11CB230D5435}.Release|Any cpu.Build.0 = Release|Any cpu {511E08CF-B782-49AF-BA10-E52BCDA4140D}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {511E08CF-B782-49AF-BA10-E52BCDA4140D}.Debug|Any cpu.Build.0 = Debug|Any cpu {511E08CF-B782-49AF-BA10-E52BCDA4140D}.Release|Any cpu.ActiveCfg = Release|Any cpu {511E08CF-B782-49AF-BA10-E52BCDA4140D}.Release|Any cpu.Build.0 = Release|Any cpu {C535FF81-2D39-4EB7-8342-63C76A3CE5D6}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {C535FF81-2D39-4EB7-8342-63C76A3CE5D6}.Debug|Any cpu.Build.0 = Debug|Any cpu {C535FF81-2D39-4EB7-8342-63C76A3CE5D6}.Release|Any cpu.ActiveCfg = Release|Any cpu {C535FF81-2D39-4EB7-8342-63C76A3CE5D6}.Release|Any cpu.Build.0 = Release|Any cpu {FFDEF719-387C-4E9D-AAA1-83175CFC74C1}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {FFDEF719-387C-4E9D-AAA1-83175CFC74C1}.Debug|Any cpu.Build.0 = Debug|Any cpu {FFDEF719-387C-4E9D-AAA1-83175CFC74C1}.Release|Any cpu.ActiveCfg = Release|Any cpu {FFDEF719-387C-4E9D-AAA1-83175CFC74C1}.Release|Any cpu.Build.0 = Release|Any cpu {AF29C1B7-3958-46E7-AB56-D98875C2BEAF}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {AF29C1B7-3958-46E7-AB56-D98875C2BEAF}.Debug|Any cpu.Build.0 = Debug|Any cpu {AF29C1B7-3958-46E7-AB56-D98875C2BEAF}.Release|Any cpu.ActiveCfg = Release|Any cpu {AF29C1B7-3958-46E7-AB56-D98875C2BEAF}.Release|Any cpu.Build.0 = Release|Any cpu {A734297F-B425-4396-8B0F-7DDF9AED5CF7}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {A734297F-B425-4396-8B0F-7DDF9AED5CF7}.Debug|Any cpu.Build.0 = Debug|Any cpu {A734297F-B425-4396-8B0F-7DDF9AED5CF7}.Release|Any cpu.ActiveCfg = Release|Any cpu {A734297F-B425-4396-8B0F-7DDF9AED5CF7}.Release|Any cpu.Build.0 = Release|Any cpu {AF0CF334-2694-47D9-B4C7-FF371327DA36}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {AF0CF334-2694-47D9-B4C7-FF371327DA36}.Debug|Any cpu.Build.0 = Debug|Any cpu {AF0CF334-2694-47D9-B4C7-FF371327DA36}.Release|Any cpu.ActiveCfg = Release|Any cpu {AF0CF334-2694-47D9-B4C7-FF371327DA36}.Release|Any cpu.Build.0 = Release|Any cpu {FADF2BF8-8102-4045-B075-1619696C3D01}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {FADF2BF8-8102-4045-B075-1619696C3D01}.Debug|Any cpu.Build.0 = Debug|Any cpu {FADF2BF8-8102-4045-B075-1619696C3D01}.Release|Any cpu.ActiveCfg = Release|Any cpu {FADF2BF8-8102-4045-B075-1619696C3D01}.Release|Any cpu.Build.0 = Release|Any cpu {2F19C372-358F-4632-A0F9-6631BBB4F492}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {2F19C372-358F-4632-A0F9-6631BBB4F492}.Debug|Any cpu.Build.0 = Debug|Any cpu {2F19C372-358F-4632-A0F9-6631BBB4F492}.Release|Any cpu.ActiveCfg = Release|Any cpu {2F19C372-358F-4632-A0F9-6631BBB4F492}.Release|Any cpu.Build.0 = Release|Any cpu EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {EE04EA76-1CFE-4484-B6C5-7C5232B3F1C4} = {F7F4128F-4141-434A-9655-8BA7B6806570} {944336E2-DC84-451C-BB1D-86C619A1770D} = {790963C2-9AB6-440E-96B3-48A29CF9663A} {09F658AE-5DDD-44DA-950D-6C3CF1259206} = {790963C2-9AB6-440E-96B3-48A29CF9663A} {69D02E00-1663-464B-B07A-C129B8D29C8D} = {F7F4128F-4141-434A-9655-8BA7B6806570} {5C1E487D-6421-470E-9398-11CB230D5435} = {F7F4128F-4141-434A-9655-8BA7B6806570} {511E08CF-B782-49AF-BA10-E52BCDA4140D} = {C3F7006C-B13C-447E-BABB-6561B38EB71B} {C535FF81-2D39-4EB7-8342-63C76A3CE5D6} = {C3F7006C-B13C-447E-BABB-6561B38EB71B} {FFDEF719-387C-4E9D-AAA1-83175CFC74C1} = {790963C2-9AB6-440E-96B3-48A29CF9663A} {AF29C1B7-3958-46E7-AB56-D98875C2BEAF} = {790963C2-9AB6-440E-96B3-48A29CF9663A} {A734297F-B425-4396-8B0F-7DDF9AED5CF7} = {C3F7006C-B13C-447E-BABB-6561B38EB71B} {AF0CF334-2694-47D9-B4C7-FF371327DA36} = {790963C2-9AB6-440E-96B3-48A29CF9663A} {FADF2BF8-8102-4045-B075-1619696C3D01} = {C3F7006C-B13C-447E-BABB-6561B38EB71B} {2F19C372-358F-4632-A0F9-6631BBB4F492} = {790963C2-9AB6-440E-96B3-48A29CF9663A} EndGlobalSection EndGlobal
Jahan.Blog.sln file: (old version)
Microsoft Visual Studio Solution File,"{A734297F-B425-4396-8B0F-7DDF9AED5CF7}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TestCase","TestCase","{AB528F30-CE93-4ECA-B7AF-F5A444E9D575}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SelectArticlesByCriteria_ConsoleApp","Applications\TestCase\SelectArticlesByCriteria_ConsoleApp\SelectArticlesByCriteria_ConsoleApp.csproj","{5EDD1CDA-C00E-47BC-BED5-2D63035971F8}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jahan.Blog.Common","{2F19C372-358F-4632-A0F9-6631BBB4F492}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any cpu = Debug|Any cpu Release|Any cpu = Release|Any cpu EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {EE04EA76-1CFE-4484-B6C5-7C5232B3F1C4}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {EE04EA76-1CFE-4484-B6C5-7C5232B3F1C4}.Debug|Any cpu.Build.0 = Debug|Any cpu {EE04EA76-1CFE-4484-B6C5-7C5232B3F1C4}.Release|Any cpu.ActiveCfg = Release|Any cpu {EE04EA76-1CFE-4484-B6C5-7C5232B3F1C4}.Release|Any cpu.Build.0 = Release|Any cpu {944336E2-DC84-451C-BB1D-86C619A1770D}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {944336E2-DC84-451C-BB1D-86C619A1770D}.Debug|Any cpu.Build.0 = Debug|Any cpu {944336E2-DC84-451C-BB1D-86C619A1770D}.Release|Any cpu.ActiveCfg = Release|Any cpu {944336E2-DC84-451C-BB1D-86C619A1770D}.Release|Any cpu.Build.0 = Release|Any cpu {09F658AE-5DDD-44DA-950D-6C3CF1259206}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {09F658AE-5DDD-44DA-950D-6C3CF1259206}.Debug|Any cpu.Build.0 = Debug|Any cpu {09F658AE-5DDD-44DA-950D-6C3CF1259206}.Release|Any cpu.ActiveCfg = Release|Any cpu {09F658AE-5DDD-44DA-950D-6C3CF1259206}.Release|Any cpu.Build.0 = Release|Any cpu {69D02E00-1663-464B-B07A-C129B8D29C8D}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {69D02E00-1663-464B-B07A-C129B8D29C8D}.Debug|Any cpu.Build.0 = Debug|Any cpu {69D02E00-1663-464B-B07A-C129B8D29C8D}.Release|Any cpu.ActiveCfg = Release|Any cpu {69D02E00-1663-464B-B07A-C129B8D29C8D}.Release|Any cpu.Build.0 = Release|Any cpu {5C1E487D-6421-470E-9398-11CB230D5435}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {5C1E487D-6421-470E-9398-11CB230D5435}.Debug|Any cpu.Build.0 = Debug|Any cpu {5C1E487D-6421-470E-9398-11CB230D5435}.Release|Any cpu.ActiveCfg = Release|Any cpu {5C1E487D-6421-470E-9398-11CB230D5435}.Release|Any cpu.Build.0 = Release|Any cpu {511E08CF-B782-49AF-BA10-E52BCDA4140D}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {511E08CF-B782-49AF-BA10-E52BCDA4140D}.Debug|Any cpu.Build.0 = Debug|Any cpu {511E08CF-B782-49AF-BA10-E52BCDA4140D}.Release|Any cpu.ActiveCfg = Release|Any cpu {511E08CF-B782-49AF-BA10-E52BCDA4140D}.Release|Any cpu.Build.0 = Release|Any cpu {C535FF81-2D39-4EB7-8342-63C76A3CE5D6}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {C535FF81-2D39-4EB7-8342-63C76A3CE5D6}.Debug|Any cpu.Build.0 = Debug|Any cpu {C535FF81-2D39-4EB7-8342-63C76A3CE5D6}.Release|Any cpu.ActiveCfg = Release|Any cpu {C535FF81-2D39-4EB7-8342-63C76A3CE5D6}.Release|Any cpu.Build.0 = Release|Any cpu {FFDEF719-387C-4E9D-AAA1-83175CFC74C1}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {FFDEF719-387C-4E9D-AAA1-83175CFC74C1}.Debug|Any cpu.Build.0 = Debug|Any cpu {FFDEF719-387C-4E9D-AAA1-83175CFC74C1}.Release|Any cpu.ActiveCfg = Release|Any cpu {FFDEF719-387C-4E9D-AAA1-83175CFC74C1}.Release|Any cpu.Build.0 = Release|Any cpu {AF29C1B7-3958-46E7-AB56-D98875C2BEAF}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {AF29C1B7-3958-46E7-AB56-D98875C2BEAF}.Debug|Any cpu.Build.0 = Debug|Any cpu {AF29C1B7-3958-46E7-AB56-D98875C2BEAF}.Release|Any cpu.ActiveCfg = Release|Any cpu {AF29C1B7-3958-46E7-AB56-D98875C2BEAF}.Release|Any cpu.Build.0 = Release|Any cpu {A734297F-B425-4396-8B0F-7DDF9AED5CF7}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {A734297F-B425-4396-8B0F-7DDF9AED5CF7}.Debug|Any cpu.Build.0 = Debug|Any cpu {A734297F-B425-4396-8B0F-7DDF9AED5CF7}.Release|Any cpu.ActiveCfg = Release|Any cpu {A734297F-B425-4396-8B0F-7DDF9AED5CF7}.Release|Any cpu.Build.0 = Release|Any cpu {5EDD1CDA-C00E-47BC-BED5-2D63035971F8}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {5EDD1CDA-C00E-47BC-BED5-2D63035971F8}.Debug|Any cpu.Build.0 = Debug|Any cpu {5EDD1CDA-C00E-47BC-BED5-2D63035971F8}.Release|Any cpu.ActiveCfg = Release|Any cpu {5EDD1CDA-C00E-47BC-BED5-2D63035971F8}.Release|Any cpu.Build.0 = Release|Any cpu {AF0CF334-2694-47D9-B4C7-FF371327DA36}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {AF0CF334-2694-47D9-B4C7-FF371327DA36}.Debug|Any cpu.Build.0 = Debug|Any cpu {AF0CF334-2694-47D9-B4C7-FF371327DA36}.Release|Any cpu.ActiveCfg = Release|Any cpu {AF0CF334-2694-47D9-B4C7-FF371327DA36}.Release|Any cpu.Build.0 = Release|Any cpu {FADF2BF8-8102-4045-B075-1619696C3D01}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {FADF2BF8-8102-4045-B075-1619696C3D01}.Debug|Any cpu.Build.0 = Debug|Any cpu {FADF2BF8-8102-4045-B075-1619696C3D01}.Release|Any cpu.ActiveCfg = Release|Any cpu {FADF2BF8-8102-4045-B075-1619696C3D01}.Release|Any cpu.Build.0 = Release|Any cpu {2F19C372-358F-4632-A0F9-6631BBB4F492}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {2F19C372-358F-4632-A0F9-6631BBB4F492}.Debug|Any cpu.Build.0 = Debug|Any cpu {2F19C372-358F-4632-A0F9-6631BBB4F492}.Release|Any cpu.ActiveCfg = Release|Any cpu {2F19C372-358F-4632-A0F9-6631BBB4F492}.Release|Any cpu.Build.0 = Release|Any cpu EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {EE04EA76-1CFE-4484-B6C5-7C5232B3F1C4} = {F7F4128F-4141-434A-9655-8BA7B6806570} {944336E2-DC84-451C-BB1D-86C619A1770D} = {790963C2-9AB6-440E-96B3-48A29CF9663A} {09F658AE-5DDD-44DA-950D-6C3CF1259206} = {790963C2-9AB6-440E-96B3-48A29CF9663A} {69D02E00-1663-464B-B07A-C129B8D29C8D} = {F7F4128F-4141-434A-9655-8BA7B6806570} {5C1E487D-6421-470E-9398-11CB230D5435} = {F7F4128F-4141-434A-9655-8BA7B6806570} {511E08CF-B782-49AF-BA10-E52BCDA4140D} = {C3F7006C-B13C-447E-BABB-6561B38EB71B} {C535FF81-2D39-4EB7-8342-63C76A3CE5D6} = {C3F7006C-B13C-447E-BABB-6561B38EB71B} {FFDEF719-387C-4E9D-AAA1-83175CFC74C1} = {790963C2-9AB6-440E-96B3-48A29CF9663A} {AF29C1B7-3958-46E7-AB56-D98875C2BEAF} = {790963C2-9AB6-440E-96B3-48A29CF9663A} {A734297F-B425-4396-8B0F-7DDF9AED5CF7} = {C3F7006C-B13C-447E-BABB-6561B38EB71B} {5EDD1CDA-C00E-47BC-BED5-2D63035971F8} = {AB528F30-CE93-4ECA-B7AF-F5A444E9D575} {AF0CF334-2694-47D9-B4C7-FF371327DA36} = {790963C2-9AB6-440E-96B3-48A29CF9663A} {FADF2BF8-8102-4045-B075-1619696C3D01} = {C3F7006C-B13C-447E-BABB-6561B38EB71B} {2F19C372-358F-4632-A0F9-6631BBB4F492} = {790963C2-9AB6-440E-96B3-48A29CF9663A} EndGlobalSection EndGlobal
解决方法
这只是两个文件的比较.
您的旧版本似乎是控制台应用程序.这是用来测试吗?
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TestCase","{5EDD1CDA-C00E-47BC-BED5-2D63035971F8}" EndProject
但是,您的新版本似乎位于源代码管理下:
GlobalSection(SourceCodeControl) = preSolution SccNumberOfProjects = 14 SccProjectUniqueName0 = Applications\\Test.HtmlPage\\Test.HtmlPage.csproj SccProjectTopLevelParentUniqueName0 = Jahan.Blog.sln SccProjectName0 = \u0022$/Blog/Jahan.Blog.root/Jahan.Blog/Applications/Test.HtmlPage\u0022,\u0020MLAAAAAA SccLocalPath0 = Applications\\Test.HtmlPage SccLocalPath1 = . SccProjectUniqueName2 = Applications\\Jahan.Blog.BLL\\Jahan.Blog.BLL.csproj SccProjectTopLevelParentUniqueName2 = Jahan.Blog.sln SccLocalPath2 = . SccProjectFilePathRelativizedFromConnection2 = Applications\\Jahan.Blog.BLL\\ SccProjectUniqueName3 = Applications\\Jahan.Blog.Common\\Jahan.Blog.Common.csproj SccProjectTopLevelParentUniqueName3 = Jahan.Blog.sln SccLocalPath3 = . SccProjectFilePathRelativizedFromConnection3 = Applications\\Jahan.Blog.Common\\ SccProjectUniqueName4 = Applications\\Jahan.Blog.DataAccess\\Jahan.Blog.DataAccess.csproj SccProjectTopLevelParentUniqueName4 = Jahan.Blog.sln SccLocalPath4 = . SccProjectFilePathRelativizedFromConnection4 = Applications\\Jahan.Blog.DataAccess\\ SccProjectUniqueName5 = Applications\\Jahan.Blog.Model.DbFirst\\Jahan.Blog.Model.DbFirst.csproj SccProjectTopLevelParentUniqueName5 = Jahan.Blog.sln SccLocalPath5 = . SccProjectFilePathRelativizedFromConnection5 = Applications\\Jahan.Blog.Model.DbFirst\\ SccProjectUniqueName6 = Applications\\Jahan.Blog.Model\\Jahan.Blog.Model.csproj SccProjectTopLevelParentUniqueName6 = Jahan.Blog.sln SccLocalPath6 = . SccProjectFilePathRelativizedFromConnection6 = Applications\\Jahan.Blog.Model\\ SccProjectUniqueName7 = Applications\\Jahan.Blog.viewmodel\\Jahan.Blog.viewmodel.csproj SccProjectTopLevelParentUniqueName7 = Jahan.Blog.sln SccLocalPath7 = . SccProjectFilePathRelativizedFromConnection7 = Applications\\Jahan.Blog.viewmodel\\ SccProjectUniqueName8 = Applications\\Jahan.Blog.Web.Mvc\\Jahan.Blog.Web.Mvc.csproj SccProjectTopLevelParentUniqueName8 = Jahan.Blog.sln SccLocalPath8 = . SccProjectFilePathRelativizedFromConnection8 = Applications\\Jahan.Blog.Web.Mvc\\ SccProjectUniqueName9 = Applications\\Jahan.Blog.Web.TestHtml\\Jahan.Blog.Web.TestHtml.csproj SccProjectTopLevelParentUniqueName9 = Jahan.Blog.sln SccLocalPath9 = . SccProjectFilePathRelativizedFromConnection9 = Applications\\Jahan.Blog.Web.TestHtml\\ SccProjectUniqueName10 = Applications\\Jahan.Infrastructure.DataAccess\\Jahan.Infrastructure.DataAccess.csproj SccProjectTopLevelParentUniqueName10 = Jahan.Blog.sln SccLocalPath10 = . SccProjectFilePathRelativizedFromConnection10 = Applications\\Jahan.Infrastructure.DataAccess\\ SccProjectUniqueName11 = Applications\\Jahan.Infrastructure.Entity\\Jahan.Infrastructure.Entity.csproj SccProjectTopLevelParentUniqueName11 = Jahan.Blog.sln SccLocalPath11 = . SccProjectFilePathRelativizedFromConnection11 = Applications\\Jahan.Infrastructure.Entity\\ SccProjectUniqueName12 = Applications\\Jahan.Infrastructure.Helper\\Jahan.Infrastructure.Helper.csproj SccProjectTopLevelParentUniqueName12 = Jahan.Blog.sln SccLocalPath12 = . SccProjectFilePathRelativizedFromConnection12 = Applications\\Jahan.Infrastructure.Helper\\ SccProjectUniqueName13 = Applications\\Jahan.Infrastructure.Identity\\Jahan.Infrastructure.Identity.csproj SccProjectTopLevelParentUniqueName13 = Jahan.Blog.sln SccLocalPath13 = . SccProjectFilePathRelativizedFromConnection13 = Applications\\Jahan.Infrastructure.Identity\\ EndGlobalSection
它还有紧随其后的另一个preSolution部分,因此您可以在Visual Studio中覆盖某些内容.
接下来,在您的旧副本中,有一些缺少的postSolution行:
{5EDD1CDA-C00E-47BC-BED5-2D63035971F8}.Debug|Any cpu.ActiveCfg = Debug|Any cpu {5EDD1CDA-C00E-47BC-BED5-2D63035971F8}.Debug|Any cpu.Build.0 = Debug|Any cpu {5EDD1CDA-C00E-47BC-BED5-2D63035971F8}.Release|Any cpu.ActiveCfg = Release|Any cpu {5EDD1CDA-C00E-47BC-BED5-2D63035971F8}.Release|Any cpu.Build.0 = Release|Any cpu
我不知道那两个是什么,但它们可能就是你所缺少的.
最后,在旧版本中有一个名为GlobalSection(NestedProjects)= preSolution的部分,其中包含新版本缺少的1行:
{5EDD1CDA-C00E-47BC-BED5-2D63035971F8} = {AB528F30-CE93-4ECA-B7AF-F5A444E9D575}
可能是Visual Studio编译器使用它在内存中的文件进行调试,并且它在两个打开的实例之间共享内存.
很有意思!