Showing posts with label Visual Studio 2015. Show all posts
Showing posts with label Visual Studio 2015. Show all posts

Wednesday, April 26, 2017

How to fix the AppManifest.xml Designer can not be launched in Visual Studio 2015?

I got a bunch of update with visual studio in my development machine, and I try to open AppManifest.xml in designer mode. But nothing happen.

I need to close the visual studio 2015 and go the appData of Visual Studio 2015, then clear the Cache of ComponentModelCache

C:\Users\(MyUserName)\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache

then reopen the project. the AppManifest.xml can be viewed in Designer Mode.

Happy Programming.

Thursday, March 31, 2016

How to fix "One or more projects in the solution were not loaded correctly. Please see the Output Window for details" warming error when launching SSRS report project in Visual Studio 2015

when i open one of SSRS Reporting Project. I always receive this popup warming message




 the issue is stem from the mess in Global Section in configuration of solution file. we can manually clean up the mess by openning the solution file in Notepad. I had highlight the removal text in Red.



Before:
Global
    GlobalSection(SolutionConfigurationPlatforms) = preSolution
        Debug|Default = Debug|Default
        Debug|Any CPU = Debug|Any CPU
        DebugLocal|Default = DebugLocal|Default
       DebugLocal|Any CPU = DebugLocal|Any CPU
       Release|Default = Release|Default
       Release|Any CPU = Release|Any CPU
    EndGlobalSection
    GlobalSection(ProjectConfigurationPlatforms) = postSolution
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.Debug|Default.ActiveCfg = Debug
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.Debug|Default.Build.0 = Debug
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.Debug|Default.Deploy.0 = Debug
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.DebugLocal|Default.ActiveCfg = DebugLocal
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.DebugLocal|Default.Build.0 = DebugLocal
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.DebugLocal|Default.Deploy.0 = DebugLocal
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.Release|Default.ActiveCfg = Release
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.Release|Default.Build.0 = Release
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.Release|Default.Deploy.0 = Release
    EndGlobalSection
    GlobalSection(SolutionProperties) = preSolution
        HideSolutionNode = FALSE
    EndGlobalSection
       GlobalSection(SolutionConfigurationPlatforms) = preSolution
        Debug|Default = Debug|Default
        DebugLocal|Default = DebugLocal|Default
        Release|Default = Release|Default
    EndGlobalSection

EndGlobal

After:
Global
    GlobalSection(SolutionConfigurationPlatforms) = preSolution
        Debug|Default = Debug|Default
        DebugLocal|Default = DebugLocal|Default
        Release|Default = Release|Default
    EndGlobalSection
    GlobalSection(ProjectConfigurationPlatforms) = postSolution
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.Debug|Default.ActiveCfg = Debug
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.Debug|Default.Build.0 = Debug
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.Debug|Default.Deploy.0 = Debug
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.DebugLocal|Default.ActiveCfg = DebugLocal
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.DebugLocal|Default.Build.0 = DebugLocal
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.DebugLocal|Default.Deploy.0 = DebugLocal
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.Release|Default.ActiveCfg = Release
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.Release|Default.Build.0 = Release
        {C840CD44-07C2-4B5D-A534-ED06A044DF1E}.Release|Default.Deploy.0 = Release
    EndGlobalSection
    GlobalSection(SolutionProperties) = preSolution
        HideSolutionNode = FALSE
    EndGlobalSection
EndGlobal


Thursday, March 24, 2016

step by step to branch a SharePoint App in TFS with Visual Studio

After we complete the development of a new Sharepoint App. we deploy it to production, then we start the new requirment or enhancement.

we should create a branch copy for continue development and exsiting project for bug fixing.

step one Create a branch base on the existing project



step two Load the branchec project and expand the SharePoint App Part Project. highlight the
AppManifest.xml and select View Code from popup menu



Step Three. Change Name Value and use New Guid ID for RemoteWebApplication Client Id




Step Four. Select the web application project, then right click on it, select properties from the popup menu.








Step Five, Select the Web from the left menu and change the project URL with new virtual directoires





Step Six Register the New Sharepoint App Part in the Sharepoint Development Server.
with New RemoteWebApplicationID and Project Url.

http://YourSharepontDevServer/sites/dev/_layouts/15/appRegnew.aspx