none
Using PCL as project, not as assembly reference RRS feed

  • Question

  • Hi everybody,

    I recently converted a project into PCL (Portable Class Library) but I have a problem :

    When I add a reference to this project, sometimes it tells me that it will be treated as an assembly reference.

    I don't understand why because I've tried with a new solution with these empty projects :

    - PCL Project with a person class

    - ASP.Net MVC 4 application project : treats PCL as an assembly reference : KO

    - Winforms application project : treats PCL as an assembly reference : KO

    - Silverlight 5 application project : treats PCL as a project : OK

    ...

    I really don't understand the rule about using PCL and references... It should use the PCL as a project not as assembly reference.

    Do you have any idea about that please ?

    Thanks

    • Moved by Amanda Zhu Wednesday, June 19, 2013 7:07 AM
    Tuesday, June 18, 2013 3:12 PM

All replies

  • Last but not least :

    Using C# PCL : all is ok

    Using VB PCL : problems

    Tuesday, June 18, 2013 3:27 PM
  • Hello,

    I have moved this thread to a more appropriate forum for better response.

    Best regards,


    Amanda Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, June 19, 2013 7:07 AM
  • Hi Insomniak,

    Would you like to provide a reproduce steps?

    I didn't reproduce this issue on my side. Thanks.

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, June 19, 2013 8:11 AM
    Moderator
  • Hi Mike,

    Here are the steps to follow to reproduce my issue (in VS2012 update 2) :

    - Create a blank solution

    - Add a VB.Net PCL project (with only .Net framework 4 and Silverlight 4 compatibility, uncheck the other frameworks, you should have only the first two checkboxes checked)

    - Add a C# PCL project (same thing about the frameworks)

    - Add a silverlight application project

    - In the Silverlight project, add references to the two PCLs => no problem everything is good

    - Add an ASP.Net MVC 4 Web Application

    - In the web app project, reference the C# PCL => ok, reference the VB.Net PCL => it says that it targets another framework and will be treated as a file assembly reference instead of a project reference => this is my issue :(

    Regards,

    Steeve

    Wednesday, June 19, 2013 9:33 AM
  • Mike,

    Did you tried to reproduce the issue ?

    Thursday, June 20, 2013 8:03 AM
  • Hi Insomniak,

    I tried the your steps, and no luck, I rebuild the solution, it succeed.

    ------ Rebuild All started: Project: PortableClassLibrary1, Configuration: Debug Any CPU ------
    Build started 6/21/2013 3:11:25 AM.
    CoreClean:
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary1\bin\Debug\PortableClassLibrary1.dll".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary1\bin\Debug\PortableClassLibrary1.pdb".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary1\obj\Debug\PortableClassLibrary1.dll".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary1\obj\Debug\PortableClassLibrary1.xml".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary1\obj\Debug\PortableClassLibrary1.pdb".
    ResolveAssemblyReferences:
      A TargetFramework profile exclusion list will be generated.
    GenerateTargetFrameworkMonikerAttribute:
    Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
    CoreCompile:
      C:\Windows\Microsoft.NET\Framework\v4.0.30319\Vbc.exe /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Diagnostics,System.Linq /optioncompare:Binary /optionexplicit+ /optionstrict:custom /nowarn:42016,41999,42020,42021,42022 /optioninfer+ /nostdlib /rootnamespace:PortableClassLibrary1 /sdkpath:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3" /vbruntime* /doc:obj\Debug\PortableClassLibrary1.xml /define:"CONFIG=\"Debug\",DEBUG=-1,TRACE=-1,_MyType=\"Empty\",PLATFORM=\"AnyCPU\"" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\mscorlib.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.ComponentModel.Composition.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.Core.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.Net.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.Runtime.Serialization.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.ServiceModel.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.ServiceModel.Web.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.Xml.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.Xml.Serialization.dll" /debug+ /debug:full /out:obj\Debug\PortableClassLibrary1.dll /target:library Class1.vb "My Project\AssemblyInfo.vb" "C:\Users\MSDN\AppData\Local\Temp\.NETPortable,Version=v4.0,Profile=Profile3.AssemblyAttributes.vb" /warnaserror+:42017,42018,42019,42032,42036
    CopyFilesToOutputDirectory:
      Copying file from "obj\Debug\PortableClassLibrary1.dll" to "bin\Debug\PortableClassLibrary1.dll".
      PortableClassLibrary1 -> c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary1\bin\Debug\PortableClassLibrary1.dll
      Copying file from "obj\Debug\PortableClassLibrary1.pdb" to "bin\Debug\PortableClassLibrary1.pdb".
      Copying file from "obj\Debug\PortableClassLibrary1.xml" to "bin\Debug\PortableClassLibrary1.xml".
    
    Build succeeded.
    
    Time Elapsed 00:00:00.08
    ------ Rebuild All started: Project: PortableClassLibrary2, Configuration: Debug Any CPU ------
    Build started 6/21/2013 3:11:25 AM.
    CoreClean:
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary2\bin\Debug\PortableClassLibrary2.dll".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary2\bin\Debug\PortableClassLibrary2.pdb".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary2\obj\Debug\PortableClassLibrary2.csprojResolveAssemblyReference.cache".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary2\obj\Debug\PortableClassLibrary2.dll".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary2\obj\Debug\PortableClassLibrary2.pdb".
    ResolveAssemblyReferences:
      A TargetFramework profile exclusion list will be generated.
    GenerateTargetFrameworkMonikerAttribute:
    Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
    CoreCompile:
      C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702,2008 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /errorendlocation /preferreduilang:en-US /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.ComponentModel.Composition.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.Net.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.Runtime.Serialization.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.ServiceModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.ServiceModel.Web.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\Profile3\System.Xml.Serialization.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\Debug\PortableClassLibrary2.dll /target:library /utf8output Class1.cs Properties\AssemblyInfo.cs "C:\Users\MSDN\AppData\Local\Temp\.NETPortable,Version=v4.0,Profile=Profile3.AssemblyAttributes.cs"
    CopyFilesToOutputDirectory:
      Copying file from "obj\Debug\PortableClassLibrary2.dll" to "bin\Debug\PortableClassLibrary2.dll".
      PortableClassLibrary2 -> c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary2\bin\Debug\PortableClassLibrary2.dll
      Copying file from "obj\Debug\PortableClassLibrary2.pdb" to "bin\Debug\PortableClassLibrary2.pdb".
    
    Build succeeded.
    
    Time Elapsed 00:00:00.21
    ------ Rebuild All started: Project: SilverlightApplication1, Configuration: Debug Any CPU ------
    Build started 6/21/2013 3:11:26 AM.
    CoreClean:
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\Bin\Debug\SilverlightApplication1.dll".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\Bin\Debug\SilverlightApplication1.pdb".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\Bin\Debug\AppManifest.xaml".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\Bin\Debug\SilverlightApplication1.xap".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\Bin\Debug\SilverlightApplication1TestPage.html".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\Bin\Debug\PortableClassLibrary1.dll".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\Bin\Debug\PortableClassLibrary2.dll".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\Bin\Debug\PortableClassLibrary1.pdb".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\Bin\Debug\PortableClassLibrary1.xml".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\Bin\Debug\PortableClassLibrary2.pdb".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\obj\Debug\SilverlightApplication1.csprojResolveAssemblyReference.cache".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\obj\Debug\App.g.cs".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\obj\Debug\MainPage.g.cs".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\obj\Debug\SilverlightApplication1.g.resources".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\obj\Debug\SilverlightApplication1.dll".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\obj\Debug\SilverlightApplication1.pdb".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\obj\Debug\XapCacheFile.xml".
    GenerateTargetFrameworkMonikerAttribute:
    Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
    CoreCompile:
      C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702,2008 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE;SILVERLIGHT /errorendlocation /preferreduilang:en-US /highentropyva- /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\mscorlib.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary1\bin\Debug\PortableClassLibrary1.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary2\bin\Debug\PortableClassLibrary2.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Net.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.Browser.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Xml.dll" /debug+ /debug:full /optimize- /out:obj\Debug\SilverlightApplication1.dll /resource:obj\Debug\SilverlightApplication1.g.resources /target:library /utf8output App.xaml.cs MainPage.xaml.cs Properties\AssemblyInfo.cs "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\obj\Debug\App.g.cs" "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\obj\Debug\MainPage.g.cs" "C:\Users\MSDN\AppData\Local\Temp\Silverlight,Version=v4.0.AssemblyAttributes.cs"
    _CopyFilesMarkedCopyLocal:
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary1\bin\Debug\PortableClassLibrary1.dll" to "Bin\Debug\PortableClassLibrary1.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary2\bin\Debug\PortableClassLibrary2.dll" to "Bin\Debug\PortableClassLibrary2.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary1\bin\Debug\PortableClassLibrary1.pdb" to "Bin\Debug\PortableClassLibrary1.pdb".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary1\bin\Debug\PortableClassLibrary1.xml" to "Bin\Debug\PortableClassLibrary1.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary2\bin\Debug\PortableClassLibrary2.pdb" to "Bin\Debug\PortableClassLibrary2.pdb".
    CopyFilesToOutputDirectory:
      Copying file from "obj\Debug\SilverlightApplication1.dll" to "Bin\Debug\SilverlightApplication1.dll".
      SilverlightApplication1 -> c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1\Bin\Debug\SilverlightApplication1.dll
      Copying file from "obj\Debug\SilverlightApplication1.pdb" to "Bin\Debug\SilverlightApplication1.pdb".
    CreateSilverlightAppManifest:
      Begin application manifest generation
      Application manifest generation completed successfully
    XapPackager:
      Begin Xap packaging
      Creating file SilverlightApplication1.xap
      Adding SilverlightApplication1.dll
      Adding PortableClassLibrary1.dll
      Adding PortableClassLibrary2.dll
      Adding AppManifest.xaml
      Xap packaging completed successfully
    CreateHtmlTestPage:
      Creating test page
      Test page created successfully
    
    Build succeeded.
    
    Time Elapsed 00:00:00.92
    ------ Rebuild All started: Project: SilverlightApplication1.Web, Configuration: Debug Any CPU ------
    Build started 6/21/2013 3:11:27 AM.
    CoreClean:
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1.Web\bin\SilverlightApplication1.Web.dll".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1.Web\bin\SilverlightApplication1.Web.pdb".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1.Web\obj\Debug\SilverlightApplication1.Web.csprojResolveAssemblyReference.cache".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1.Web\obj\Debug\SilverlightApplication1.Web.dll".
      Deleting file "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1.Web\obj\Debug\SilverlightApplication1.Web.pdb".
    GenerateTargetFrameworkMonikerAttribute:
    Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
    CoreCompile:
      C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702,2008 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /errorendlocation /preferreduilang:en-US /highentropyva- /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.ComponentModel.DataAnnotations.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Configuration.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.EnterpriseServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.ApplicationServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.DynamicData.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.Entity.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.Services.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /optimize- /out:obj\Debug\SilverlightApplication1.Web.dll /target:library /utf8output Properties\AssemblyInfo.cs "C:\Users\MSDN\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"
    CopyFilesToOutputDirectory:
      Copying file from "obj\Debug\SilverlightApplication1.Web.dll" to "bin\SilverlightApplication1.Web.dll".
      SilverlightApplication1.Web -> c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\SilverlightApplication1.Web\bin\SilverlightApplication1.Web.dll
      Copying file from "obj\Debug\SilverlightApplication1.Web.pdb" to "bin\SilverlightApplication1.Web.pdb".
    
    Build succeeded.
    
    Time Elapsed 00:00:00.39
    ------ Rebuild All started: Project: MvcApplication1, Configuration: Debug Any CPU ------
    Build started 6/21/2013 3:11:27 AM.
    GenerateTargetFrameworkMonikerAttribute:
    Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
    CoreCompile:
      C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702,2008 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /errorendlocation /preferreduilang:en-US /highentropyva- /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\WebGrease.1.3.0\lib\Antlr3.Runtime.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\DotNetOpenAuth.AspNet.4.1.4.12333\lib\net40-full\DotNetOpenAuth.AspNet.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\DotNetOpenAuth.Core.4.1.4.12333\lib\net40-full\DotNetOpenAuth.Core.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\DotNetOpenAuth.OAuth.Consumer.4.1.4.12333\lib\net40-full\DotNetOpenAuth.OAuth.Consumer.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\DotNetOpenAuth.OAuth.Core.4.1.4.12333\lib\net40-full\DotNetOpenAuth.OAuth.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\DotNetOpenAuth.OpenId.Core.4.1.4.12333\lib\net40-full\DotNetOpenAuth.OpenId.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\DotNetOpenAuth.OpenId.RelyingParty.4.1.4.12333\lib\net40-full\DotNetOpenAuth.OpenId.RelyingParty.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\EntityFramework.5.0.0\lib\net40\EntityFramework.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.Edm.5.2.0\lib\net40\Microsoft.Data.Edm.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.OData.5.2.0\lib\net40\Microsoft.Data.OData.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.Mvc.FixedDisplayModes.1.0.0\lib\net40\Microsoft.Web.Mvc.FixedDisplayModes.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebPages.OAuth.2.0.20710.0\lib\net40\Microsoft.Web.WebPages.OAuth.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary1\bin\Debug\PortableClassLibrary1.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary2\bin\Debug\PortableClassLibrary2.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.ComponentModel.DataAnnotations.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Configuration.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.Entity.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.EnterpriseServices.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebApi.Client.4.0.20710.0\lib\net40\System.Net.Http.Formatting.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.WebRequest.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\System.Spatial.5.2.0\lib\net40\System.Spatial.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Transactions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.Abstractions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.ApplicationServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.DynamicData.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.Entity.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.Extensions.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.Helpers.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebApi.OData.4.0.0\lib\net40\System.Web.Http.OData.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebApi.WebHost.4.0.20710.0\lib\net40\System.Web.Http.WebHost.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.Mvc.4.0.20710.0\lib\net40\System.Web.Mvc.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.Web.Optimization.1.0.0\lib\net40\System.Web.Optimization.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.Razor.2.0.20715.0\lib\net40\System.Web.Razor.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.Routing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.Services.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Deployment.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Razor.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\WebGrease.1.3.0\lib\WebGrease.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebPages.Data.2.0.20710.0\lib\net40\WebMatrix.Data.dll" /reference:"c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebPages.WebData.2.0.20710.0\lib\net40\WebMatrix.WebData.dll" /debug+ /debug:full /optimize- /out:obj\Debug\MvcApplication1.dll /target:library /utf8output App_Start\AuthConfig.cs App_Start\BundleConfig.cs App_Start\FilterConfig.cs App_Start\RouteConfig.cs App_Start\WebApiConfig.cs Controllers\AccountController.cs Controllers\HomeController.cs Filters\InitializeSimpleMembershipAttribute.cs Global.asax.cs Models\AccountModels.cs Properties\AssemblyInfo.cs "C:\Users\MSDN\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"
    _CopyFilesMarkedCopyLocal:
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary1\bin\Debug\PortableClassLibrary1.dll" to "bin\PortableClassLibrary1.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary2\bin\Debug\PortableClassLibrary2.dll" to "bin\PortableClassLibrary2.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary1\bin\Debug\PortableClassLibrary1.pdb" to "bin\PortableClassLibrary1.pdb".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary1\bin\Debug\PortableClassLibrary1.xml" to "bin\PortableClassLibrary1.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\PortableClassLibrary2\bin\Debug\PortableClassLibrary2.pdb" to "bin\PortableClassLibrary2.pdb".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\EntityFramework.5.0.0\lib\net40\EntityFramework.xml" to "bin\EntityFramework.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.xml" to "bin\Newtonsoft.Json.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.xml" to "bin\System.Net.Http.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebApi.Client.4.0.20710.0\lib\net40\System.Net.Http.Formatting.xml" to "bin\System.Net.Http.Formatting.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40\System.Net.Http.WebRequest.xml" to "bin\System.Net.Http.WebRequest.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.Helpers.xml" to "bin\System.Web.Helpers.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.xml" to "bin\System.Web.Http.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebApi.WebHost.4.0.20710.0\lib\net40\System.Web.Http.WebHost.xml" to "bin\System.Web.Http.WebHost.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.Mvc.4.0.20710.0\lib\net40\System.Web.Mvc.xml" to "bin\System.Web.Mvc.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.Razor.2.0.20715.0\lib\net40\System.Web.Razor.xml" to "bin\System.Web.Razor.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.xml" to "bin\System.Web.WebPages.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Deployment.xml" to "bin\System.Web.WebPages.Deployment.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Razor.xml" to "bin\System.Web.WebPages.Razor.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebPages.Data.2.0.20710.0\lib\net40\WebMatrix.Data.xml" to "bin\WebMatrix.Data.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebPages.OAuth.2.0.20710.0\lib\net40\Microsoft.Web.WebPages.OAuth.xml" to "bin\Microsoft.Web.WebPages.OAuth.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebPages.WebData.2.0.20710.0\lib\net40\WebMatrix.WebData.xml" to "bin\WebMatrix.WebData.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\DotNetOpenAuth.AspNet.4.1.4.12333\lib\net40-full\DotNetOpenAuth.AspNet.xml" to "bin\DotNetOpenAuth.AspNet.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\DotNetOpenAuth.Core.4.1.4.12333\lib\net40-full\DotNetOpenAuth.Core.xml" to "bin\DotNetOpenAuth.Core.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\DotNetOpenAuth.OAuth.Consumer.4.1.4.12333\lib\net40-full\DotNetOpenAuth.OAuth.Consumer.xml" to "bin\DotNetOpenAuth.OAuth.Consumer.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\DotNetOpenAuth.OAuth.Core.4.1.4.12333\lib\net40-full\DotNetOpenAuth.OAuth.xml" to "bin\DotNetOpenAuth.OAuth.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\DotNetOpenAuth.OpenId.Core.4.1.4.12333\lib\net40-full\DotNetOpenAuth.OpenId.xml" to "bin\DotNetOpenAuth.OpenId.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\DotNetOpenAuth.OpenId.RelyingParty.4.1.4.12333\lib\net40-full\DotNetOpenAuth.OpenId.RelyingParty.xml" to "bin\DotNetOpenAuth.OpenId.RelyingParty.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.AspNet.WebApi.OData.4.0.0\lib\net40\System.Web.Http.OData.xml" to "bin\System.Web.Http.OData.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.Edm.5.2.0\lib\net40\Microsoft.Data.Edm.xml" to "bin\Microsoft.Data.Edm.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.OData.5.2.0\lib\net40\Microsoft.Data.OData.xml" to "bin\Microsoft.Data.OData.xml".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\System.Spatial.5.2.0\lib\net40\System.Spatial.xml" to "bin\System.Spatial.xml".
      Creating directory "bin\de".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.Edm.5.2.0\lib\net40\de\Microsoft.Data.Edm.resources.dll" to "bin\de\Microsoft.Data.Edm.resources.dll".
      Creating directory "bin\es".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.Edm.5.2.0\lib\net40\es\Microsoft.Data.Edm.resources.dll" to "bin\es\Microsoft.Data.Edm.resources.dll".
      Creating directory "bin\fr".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.Edm.5.2.0\lib\net40\fr\Microsoft.Data.Edm.resources.dll" to "bin\fr\Microsoft.Data.Edm.resources.dll".
      Creating directory "bin\it".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.Edm.5.2.0\lib\net40\it\Microsoft.Data.Edm.resources.dll" to "bin\it\Microsoft.Data.Edm.resources.dll".
      Creating directory "bin\ja".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.Edm.5.2.0\lib\net40\ja\Microsoft.Data.Edm.resources.dll" to "bin\ja\Microsoft.Data.Edm.resources.dll".
      Creating directory "bin\ko".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.Edm.5.2.0\lib\net40\ko\Microsoft.Data.Edm.resources.dll" to "bin\ko\Microsoft.Data.Edm.resources.dll".
      Creating directory "bin\ru".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.Edm.5.2.0\lib\net40\ru\Microsoft.Data.Edm.resources.dll" to "bin\ru\Microsoft.Data.Edm.resources.dll".
      Creating directory "bin\zh-Hans".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.Edm.5.2.0\lib\net40\zh-Hans\Microsoft.Data.Edm.resources.dll" to "bin\zh-Hans\Microsoft.Data.Edm.resources.dll".
      Creating directory "bin\zh-Hant".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.Edm.5.2.0\lib\net40\zh-Hant\Microsoft.Data.Edm.resources.dll" to "bin\zh-Hant\Microsoft.Data.Edm.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.OData.5.2.0\lib\net40\de\Microsoft.Data.OData.resources.dll" to "bin\de\Microsoft.Data.OData.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.OData.5.2.0\lib\net40\es\Microsoft.Data.OData.resources.dll" to "bin\es\Microsoft.Data.OData.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.OData.5.2.0\lib\net40\fr\Microsoft.Data.OData.resources.dll" to "bin\fr\Microsoft.Data.OData.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.OData.5.2.0\lib\net40\it\Microsoft.Data.OData.resources.dll" to "bin\it\Microsoft.Data.OData.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.OData.5.2.0\lib\net40\ja\Microsoft.Data.OData.resources.dll" to "bin\ja\Microsoft.Data.OData.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.OData.5.2.0\lib\net40\ko\Microsoft.Data.OData.resources.dll" to "bin\ko\Microsoft.Data.OData.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.OData.5.2.0\lib\net40\ru\Microsoft.Data.OData.resources.dll" to "bin\ru\Microsoft.Data.OData.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.OData.5.2.0\lib\net40\zh-Hans\Microsoft.Data.OData.resources.dll" to "bin\zh-Hans\Microsoft.Data.OData.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\Microsoft.Data.OData.5.2.0\lib\net40\zh-Hant\Microsoft.Data.OData.resources.dll" to "bin\zh-Hant\Microsoft.Data.OData.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\System.Spatial.5.2.0\lib\net40\de\System.Spatial.resources.dll" to "bin\de\System.Spatial.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\System.Spatial.5.2.0\lib\net40\es\System.Spatial.resources.dll" to "bin\es\System.Spatial.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\System.Spatial.5.2.0\lib\net40\fr\System.Spatial.resources.dll" to "bin\fr\System.Spatial.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\System.Spatial.5.2.0\lib\net40\it\System.Spatial.resources.dll" to "bin\it\System.Spatial.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\System.Spatial.5.2.0\lib\net40\ja\System.Spatial.resources.dll" to "bin\ja\System.Spatial.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\System.Spatial.5.2.0\lib\net40\ko\System.Spatial.resources.dll" to "bin\ko\System.Spatial.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\System.Spatial.5.2.0\lib\net40\ru\System.Spatial.resources.dll" to "bin\ru\System.Spatial.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\System.Spatial.5.2.0\lib\net40\zh-Hans\System.Spatial.resources.dll" to "bin\zh-Hans\System.Spatial.resources.dll".
      Copying file from "c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\packages\System.Spatial.5.2.0\lib\net40\zh-Hant\System.Spatial.resources.dll" to "bin\zh-Hant\System.Spatial.resources.dll".
    CopyFilesToOutputDirectory:
      Copying file from "obj\Debug\MvcApplication1.dll" to "bin\MvcApplication1.dll".
      MvcApplication1 -> c:\users\msdn\documents\visual studio 2012\Projects\PortableClassLibrary1\MvcApplication1\bin\MvcApplication1.dll
      Copying file from "obj\Debug\MvcApplication1.pdb" to "bin\MvcApplication1.pdb".
    
    Build succeeded.
    
    Time Elapsed 00:00:01.97
    ========== Rebuild All: 5 succeeded, 0 failed, 0 skipped ==========

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, June 20, 2013 10:03 AM
    Moderator
  • Hi Mike,

    Thanks for your answer but I think you misunderstood my issue.

    It's not a compiling problem but a reference problem (not a real one, let me explain) :

    We work as team through TFS. If someone make a change into PCL library and then uses this change into the application, in the case of VB.Net PCL he will have to compile PCL before making change to its application because the PCL is treated as a dll reference and not a project reference and then the PCL modifications will be available into the application that references VB PCL.

    If you do the same thing with a C# PCL, you will see your modification through intellisense immediatly in your calling application because your application uses a project reference instead of file reference.

    Do you see what I mean ?

    Here is the message I have when I add a reference to VB PCL project into my application projects (only with Asp MVC, Winforms and Class Library but not with Silverlight app projects). I don't have this message when adding a C# PCL. All the projects are .Net 4.5 targeted projects. PCL are limited to the first two framework checkboxes (.Net 4 or higher and Silverlight 4, Also tested with .Net 4.5 and SL 5).

    pcl reference

    Thursday, June 20, 2013 11:47 AM
  • Hi Mike,

    Still no clue ?

    Monday, June 24, 2013 9:12 AM
  • Hi insomniak,

    I didn't get this message box a little.

    I have tried it many times. There is no any errors.

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, June 25, 2013 7:38 AM
    Moderator
  • Hi Mike,

    Thanks for trying to help me.

    Did you tried with a VB architecture ? not C# ?

    Tuesday, June 25, 2013 7:52 AM
  • Hi Insomniak,

    Yes,

    I tried both C# and VB. And you can find it from the above log. 

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, June 26, 2013 1:50 AM
    Moderator
  • Hi Mike,

    What I see into your log is that you created a C# ASP.MVC project. As I said, referencing a PCL into a C#project works without problems.

    The problem occurs when you have a VB.Net application (ASP MVC, Class Library, Winform project) that references a VB PCL (if you create a C# PCL, it works with VB Application).

    Try to create a VB ASP MVC application and reference the VB PCL in it you will see the message.

    Thanks for you help by the way.

    Thursday, June 27, 2013 3:06 PM
  • Hi Mike,

    Did you see my answer about the fact that you made a mistake and created an ASP.Net MVC Project using C# and not VB.Net to reproduce the message ?

    Monday, July 1, 2013 10:26 AM
  • Hi,

    Still no answer ? :(

    Tuesday, July 9, 2013 2:56 PM