Visual studio 2013: Contract.Assume not generating exception at runtime?

Hello guys.
I must be missing something, but just can't see what. I'm creating a new assembly with .net 4.5.2 and I've enabled code contracts by going to the project properties and by doing the following:
* set assembly mode to standard contract requires
* enabled perform runtime contract checking
* chose option full on the combo
* and chose the build option from the contract reference assembly at the end of the page
Then, I've added the folloowing to an existing class:
namespace Domain.Persistence {
    public abstract class ValueObject : Base {
        protected ValueObject() {
            var anyInvalidProps = GetType().GetProperties()
                .Where(p => Attribute.IsDefined(p, typeof (DomainSignatureAttribute), true))
                .Any();
            Contract.Assume(!anyInvalidProps);
While running my unit tests, I don't end up getting an exception (even when the condition is false!). Any clues on what I'm missing?
Luis Abreu

Solved it: had set the only public surface contracts checkbox by mistake and the cosntructor was protected...
Luis Abreu

Similar Messages

  • After i install Visual-Studio 2013 crystal-report not working

    hi
    after i install Visual-Studio 2013 crystal-report not working on my Visual-Studio 2010 projects
    when i try to open crystal-report i see this:

    Hi E_gold,
    Crystal Reports forum may be a better place for you.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Visual Studio 2013 WP Emulator not working after adding more RAM

    After a few days I installed VS 2013 on my laptop which had 3GB RAM and got notified by visual studio that I need at least 4 GB for hardware virtualization. Now I have 6GB RAM and Hyper-V restarted and VS still doesn't recognize my new RAM and doesn't give
    me an option to run the WP emulator.
    Did any of you had a problem/solution with this?

    Run MSInfo32.exe and post the System Summary results.
    Also check them against the system requirements for Windows Phone emulators:
    http://msdn.microsoft.com/en-us/library/windows/apps/ff626524(v=vs.105).aspx
    Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast
    your votes for existing suggestions.

  • Visual Studio 2013 DataSource issue: Not pointing to right server

    Doing some work for college. I have been given a starting point in an application, expected to finish it. Not an issue.
    The data source that is attached to the application points to the wrong server, and I can't for the life of me change where it's points (SQL2008EXPRESS as opposed to my server which is simply SQLEXPRESS). I'd gladly just create a new data source
    and code it up, but, there's a few table adapters already in it that I don't know how they are set up, nor can I edit them to copy the information to move them over. 
    I can't run my application because the data source can't connect. I can't change the data source. I can't create a new data source.
    How do I proceed? My instructor has been of no help for the entire class.. and has given simply a dumb response to my question to him. Thanks.

    Hello,
    Please take a look at the following articles:
    Walkthrough: Creating a Local Database File in Visual Studio:
    http://msdn.microsoft.com/en-us/library/ms233763.aspx
    How to: Connect to Data:
    http://msdn.microsoft.com/en-us/library/ff852017.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Version of jvm.dll compatible with 64-bit development on Visual Studio 2013?

    Hi.  I am building a 64-bit C++ application under Visual Studio 2013. I am using jvm.dll to call Java methods from within the application.  The issue is that the version of jvm.dll that is distributed with Java 7 and Java 8 are compiled with Visual Studio 2010 (and thus rely on the msvcr100.dll runtime library).  This makes it very dangerous to use with a Visual Studio 2013 application which uses msvcr120.dll (mixing runtime libraries is a very big no-no).  I am seeing random memory errors as a result, at the JNI interface level.
    Is there any way to get a version of jvm.dll that is compiled with Visual Studio 2013 and is thus dependent on msvcr120.dll?
    Thanks,
    Dan

    Hello,
    As per your description, remote deployment is not possible for server side code in sharepoint so if you are using server object model then you won't be able to debug or deploy your solution from visual studio.
    VS is not required to installed on UAT/prod server but you need sharepoint along with visual studio in same development machine to develop any custom webpart.
    Once you deploy your custom webpart on site then you will be able to see that webpart in webpart gallery and that gallery is also available in designer so it means you can also add your custom webpart from designer to any page.
    Correct me if i misunderstood you
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • SharePoint Connection not available with Visual Studio 2013

    I've installed Visual Studio 2013 in my SharePoint 2010 environment. When I try to add the existing SharePoint Connections I've used in Visual Studio 2010 there is always the same error: Remote SharePoint site connections are not supported. The SharePoint
    site is located at the same server, I'm able to access the Central Administration with Visual Studio 2013, but I can't access my development SharePoint Web Application.
    I'm sure I do have access to the configuration database, in Visual Studio 2010 I'm able to delete and add SharePoint Connections without any problems. The URL of the development SharePoint connection (like sp1.sharepoint.contoso.com) is not named like
    the URL of the Central Administration (like servername:5000). The port of my development SharePoint is 80, but I can't access with servername:80 too. My account is in the group of the local administrators, Visual Studio is started as Administrator
    and my account is a SharePoint farm administrator and additionally a site collection administrator of all site collections in my SharePoint web application.
    Any idea what's wrong with this SharePoint connections?
    Thanks in advance. Georg

    Can you try the following workaround and see if it helps? First try adding host entry for your server name and if that works change it to sp1.sharepoint.contoso.com.
    SharePoint
    2013 Visual Studio Project Error – “Cannot connect to the targeted site”
    I understand your situation is different than the one mentioned in the blog but given you seem to have all the permission so may be you try and see if the error is because of above issue. Actually if above does not work (assuming your are on your development
    environment), try adding your account to DB Owner on your site collection database as mentioned here.
    http://www.sharemuch.com/2010/03/19/resolving-vs-2010-solution-deployment-issues-for-sharepoint-2010-projects/
    Amit

  • Library not registered error in Visual Studio 2013.

    Whenever I attempt to build a solution, build multiple projects, or even run a program (with debugging) in visual studio 2013, I receive the error below.
    "Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))"
    I have attempted to fix this by repairing my Visual Studio installation, but without success. 
    I believe the issue to be with Visual Studio itself, though, because this happens with every solution I have tried it with.
    Any assistance in resolving this issue would be most appreciated.

    Hi ndowney,
    Based on your issue, could you please tell me if you install some other tools on your machine before you get the ""Library not registered" error?
    (1) If yes, please you disable or un-install these tools and then build solution/project check this issue again.
    (2)If no, to check if the issue is related to the VS IDE, please refer the following steps to check this error message.
    (2.1) I suggest you could try the following commands to check if it is helpful.
    a.  Run devenv /Safemode to see if you can apply it correctly. This can eliminate the possibility that third party Add-ins or packages are causing problems.
    b. Run devenv /Resetsettings to eliminate the cause of corrupted settings.
    c. Run devenv /ResetSkipPkgs in Command Prompt.
    If above still cannot work, try use this command again: devenv /resetsuerdata
    (2.2) If the above suggestion still could not help you, maybe you will need to re-install the VS2013 and then check this issue again.
    If you have any latest message about your issue, please tell me.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • XML Parsing Error: not well-formed (C# Visual Studio 2013)

    I am working on a project in visual studio that imports a csv, and exports an xml file. I'd like to be able to get the code to work as xml and html, and view it in a browser. I am getting this error when I load the xml file into a browser:
    Firefox
    XML Parsing Error: not well-formed Location: file:///C:/Users/fenwky/XmlDoc.xml Line Number 2, Column 6:?> -----^
    Chrome
    This page contains the following errors: error on line 2 at column 16: colon are forbidden from PI names 'xsl:transform'
    This is what my c# code looks like in visual studio 2013:
    // Create a procesing instruction.
    XmlProcessingInstruction newPI;
    // Stylesheet
    String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    newPI = doc.CreateProcessingInstruction("abc:stylesheet", PItext);
    doc.InsertAfter(newPI, doc.FirstChild);
    // Save document
    doc.Save(xmlfilename);

    Hi
    Kylee Fenwick,
    Could you show us your CSV file? And the code how do you imports a csv and exports an xml file?
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.
    Hi Kristen,
    Thank you in advance for your healp. Here is my CSV file:
    Item Code;Item Description;Current Count;On Order
    A0001;"Wheels, Horse on";5;No
    A0002;"Wheels, Elephant on";2;No
    A0003;"Wheels, Dog on";0;Yes
    A0004;"Wheels, Seal on";3;No
    A0005;"Wheels, Bear on";7;No
    A0006;"Bear, Teddy";2;Yes
    A0007;"Clown,";5;No
    A0008;"Puppy(crouch),";3;No
    A0009;"Puppy(stand),";2;No
    A0010;"Puppy(jump),";2;Yes
    A0011;"Pupp(lying),";1;Yes
    A0012;"(50), Cart with Blocks";0;Yes
    A0013;"(100), Cart with Blocks";5;No
    A0014;"(200), Cart with Blocks";4;No
    A0015;"Carriage, Train with 0";12;No
    A0016;"Carriage, Train with 1";10;No
    A0017;"Carriage, Train with 2";5;Yes
    A0018;"Carriage, Train with 3";4;Yes
    A0019;"Carriage, Train with 4";5;No
    A0020;"Carriage, Train with 5";2;No
    A0021;"(20), Building Blocks";15;No
    A0022;"(30), Building Blocks";13;No
    A0023;"(40), Building Blocks";16;No
    A0024;"(50), Building Blocks";5;Yes
    A0025;"(100), Building Blocks";2;Yes
    A0026;"(200), Building Blocks";8;No
    A0027;"Windmill,";5;No
    A0028;"Farmhouse,";6;Yes
    A0029;"Fencing,";22;Yes
    A0030;"Barn,";12;Yes
    A0031;"Tractor,";6;Yes
    A0032;"Animals,";3;Yes
    A0033;"House,";9;No
    A0034;"Car,";12;No
    A0035;"(small), Building";4;No
    A0036;"(medium), Building";3;No
    A0037;"(tall), Building";4;No
    A0038;"Shop,";7;No
    A0039;"Lights, Traffic";5;Yes
    A0040;"Station, Petrol";4;Yes
    And here is my code:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.IO;
    using System.Data.OleDb;
    using System.Xml;
    using System.Xml.Xsl;
    using System.Xml.XPath;
    namespace CSVImporter
    public partial class CSVImporter : Form
    //const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml"; - file name and location of xml file
    const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml";
    // New code
    //const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml"; - file name and location of xsl file
    const string stylesheetsimple = @"C:\Users\fenwky\style1.xsl";
    //const string xmlfilecomplex = @"C:\Users\fenwky\XmlDoc2.xml";
    const string xmlfilecomplex = @"C:\Users\fenwky\XmlDoc2.xml";
    DataSet ds = null;
    public CSVImporter()
    InitializeComponent();
    // Create a Open File Dialog Object.
    openFileDialog1.Filter = "csv files (*.csv)|*.csv|All files (*.*)|*.*";
    openFileDialog1.ShowDialog();
    string fileName = openFileDialog1.FileName;
    //doc.InsertBefore(xDeclare, root);
    // Create a CSV Reader object.
    CSVReader reader = new CSVReader();
    ds = reader.ReadCSVFile(fileName, true);
    dataGridView1.DataSource = ds.Tables["Table1"];
    private void WXML_Click(object sender, EventArgs e)
    WriteXML();
    public void WriteXML()
    StringWriter stringWriter = new StringWriter();
    ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
    string xmlStr = stringWriter.ToString();
    XmlDocument doc = new XmlDocument();
    doc.LoadXml(xmlStr);
    XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    doc.InsertBefore(xDeclare, doc.FirstChild);
    // Test code //
    // Load the style sheet.
    XslCompiledTransform xslt = new XslCompiledTransform();
    xslt.Load("style1.xsl");
    // Test code //
    // Transform the file and output an HTML string.
    string HTMLoutput;
    StringWriter writer = new StringWriter();
    xslt.Transform("XmlDoc.xml", null, writer);
    HTMLoutput = writer.ToString();
    writer.Close();
    // Create a procesing instruction.
    XmlProcessingInstruction newPI;
    // Stylesheet
    // String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    String PItext = "<xsl:stylesheet xmlns:xls=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    // newPI = doc.CreateProcessingInstruction("abc:stylesheet", PItext);
    newPI = doc.CreateProcessingInstruction("xls:stylesheet", PItext);
    doc.InsertAfter(newPI, doc.FirstChild);
    // Save document
    doc.Save(xmlfilename);
    private void btExportComplexXML_Click(object sender, EventArgs e)
    WriteXMLComplex();
    public void WriteXMLComplex()
    // Creates stringwriter
    StringWriter stringWriter = new StringWriter();
    ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
    string xmlStr = stringWriter.ToString();
    XmlDocument doc = new XmlDocument();
    doc.LoadXml(xmlStr);
    XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    doc.InsertBefore(xDeclare, doc.FirstChild);
    // Create a procesing instruction.
    XmlProcessingInstruction newPI;
    // Uses XML transformation.
    String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    newPI = doc.CreateProcessingInstruction("xsl:stylesheet", PItext);
    doc.InsertAfter(newPI, doc.FirstChild);
    // Saves document.
    doc.Save(xmlfilecomplex);
    //Creates a CSVReader Class
    public class CSVReader
    public DataSet ReadCSVFile(string fullPath, bool headerRow)
    string path = fullPath.Substring(0, fullPath.LastIndexOf("\\") + 1);
    string filename = fullPath.Substring(fullPath.LastIndexOf("\\") + 1);
    DataSet ds = new DataSet();
    try
    if (File.Exists(fullPath))
    string ConStr = string.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0}" + ";Extended Properties=\"Text;HDR={1};FMT=Delimited\\\"", path, headerRow ? "Yes" : "No");
    string SQL = string.Format("SELECT * FROM {0}", filename);
    OleDbDataAdapter adapter = new OleDbDataAdapter(SQL, ConStr);
    adapter.Fill(ds, "TextFile");
    ds.Tables[0].TableName = "Table1";
    foreach (DataColumn col in ds.Tables["Table1"].Columns)
    col.ColumnName = col.ColumnName.Replace(" ", "_");
    catch (Exception ex)
    MessageBox.Show(ex.Message);
    return ds;

  • Visual Studio 2013 Express for Windows - InitializeComponent() does not contain a definition issue

    Hi,
    I have recently downloaded Visual Studio 2013 Express for Windows (Windows Store App version), with Update 1.
    I create a blank app. I right-click on InitializeComponent() in the MainPage.xaml.cs and select Go To Definition. It brings me to the .g.i.cs file where this method resides.
    I go into the designer for MainPage.xaml and create a grid of 2 rows and 2 columns (all at 1*). I add one button, doesn't matter where. I double click on that button to add a click method to MainPage.xaml.cs. Without entering anything into the button click
    method, I scroll up and InitializeComponent() has an error and tells me there is not definition, even though I was looking at the definition a minute ago. I found I could unload the project and reload it and InitializeComponent() would have the definition
    in the .g.i.cs file but as soon as I add another button click or anything else I run into the same error. It seems as if the .g.i.cs file is not automatically regenerating, or it is being deleted all together when the button click method is added to the xaml.cs
    file.
    Everything I have done up to this point is very vanilla. I installed VS '13 Express for Windows, didn't change any VS setting, created a project and ran into this issue. I installed Update 1 thinking there might be a fix from the update--no luck. The xaml
    file Build Action is Page and the Xaml.cs file is Compile.
    I have tried deleting the MainPage.xaml file, after the creation of a project, and adding a new MainPage file with the added templates VS wants to include, and I still run into the same issue.
    I have searched for answers the past few days but haven't found anything that addresses my issue (most of what I found addresses VS '10 but their InitializeComponent() issues aren't the same as mine). Any help the MSDN community can provide would be
    a great help. If worst comes to worst, I will re-install VS and see if that corrects it--this would be a last-ditch effort though.
    Thank you for any help you may be able to provide

    Intellisense has a bug in VS2013 where it doesn't recognize InitializeComponent when you start working on the XAML.  My feeling is that if you try to compile this app, it will run fine (as long as there are no actual errors).
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Visual Studio 2013 does not rebuild all code resulting in old code deployed through wsp

    I recently converted my SharePoint 2010 project from Visual Studio 2010 to Visual Studio 2013. I have the Premium version with Update 1.
    I quickly noticed that 2013 has bugs. For instance I could get a build error out of nowhere while developing, stating that a method recently added to Class
    A used by Class B, does not exist. The only way to resolve is to restart Visual Studio. Sometimes a rebuild would do the trick too.
    I can live with such quirks as a developer. The big problem is that it does not build the latest version if you are using the "Publish to File System"
    to get a wsp for deployment on another server.
    I've had problems with incomplete builds since my first deploy with wsp built by Visual Studio 2013, but I was not able to pinpoint it with certainty until
    last night.
    I have two classes used by a timer job. In a new version they back up some files after using them. After upgrading with the new wsp, I restarted the timer
    job service on all servers and ran the job, but the files did not back up. So I went and added a log statement to the backup code of one class and did another clean/rebuild/publish to file system from Visual Studio. I upgraded using the new wsp and then restarted
    the timer job service on all servers. When I ran the timer job service, the class where I added the log statement backed up the files it should. The other class still did not. So I added a log statement to this class as well and deployed that. Then this class
    started to backup files too.
    So I conclude that Visual Studio 2013 is failing at its core in a very dangerous way leaving assemblies built in an unknown, incomplete limbo state.
    I am downgrading all projects to Visual Studio 2012.
    This post is mainly to share my experience with the community, but if someone at Microsoft wants to investigate the issue, here is a suggestion on how to reproduce:
    Have Visual Studio in Debug build.
    Make a change to a class in a SharePoint project.
    Deploy the change to a local SharePoint installation.
    Change to Release build.
    Use Publish to file system to get a wsp. Open this wsp, copy the assembly, reflect and investigate to see that code change is actually there.
    Tore Olav Kristiansen

    Hi,
    As this is a Visual Studio question, I suggest you post it to Visual Studio Forum, you will get more help and confirm answers from there.
    http://social.msdn.microsoft.com/Forums/en-US/home?category=visualstudio
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Ctrl+Tab not working in Visual Studio 2013 in Remote Desktop

    My PC is W81, and I'm RDing into a W7 machine running Visual Studio 2013 SP4.
    When I press Ctrl+Tab (and hold), I very briefly see the usual editor window list come up, but it goes away and the editor does not switch.
    If I hold Ctrl+Tab and let the repeat start, the same thing happens in rapid succession, but the current tab still never changes.
    I have of course rebooted both client and server, and made sure my keyboard wasn't at fault and toggled all the keys.  No dice.
    Thanks.

    Sorry, but that doesn't get me the original behavior, where I can tab through the list or double-tab, triple-tap TAB to visit the last, second to last, or third to last file I visited (or I could use the visual navigator).  I frequently use these commands,
    and it's really slowing me down.
    Can I please get an admission this is a bug and a commitment to fix it?

  • Visual Studio 2013 Crystal Report V9 does not display in browser

    Hello, I work with Visual Studio 2013, and was anxious for version 13.0.9.1312, glad you came. Well I installed the full version and the report usually opened in VS, but when it does not compile command displays. Published in a local and it worked, but the VS does not work, if you click with the right mouse button to display codes are the codes it, but does not show. I used IE, and nothing Chomo. How does VS2013 use IIS Express as a server. Have any solution for this?

    See this post for the answer...
    Re: Crystal Reports does not load aspnet_client files to proper IISExpress directory
    Don

  • Publish cloud service fails from Visual Studio 2013 Update 4: Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.

    I have a cloud service project with two roles (service and worker). In Visual Studio 2013 Update 4 when I choose "Publish..." from the "Solution Explorer",  it opens "Microsoft Azure Activity Log" and quickly terminates.
    Here the log:
    9:43:47 AM - Applying Diagnostics extension.
    9:44:09 AM - Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    All works fine when uploading the package and updating from https://manage.windowsazure.com/. It only fails from within Visual Studio.
    What can I do to get it working?

    I have the same problem with our Azure project. Two web roles (service and worker). Just updated from SDK2.2 to SDK2.5 and Visual Studio 2013 Update 2 to Update 4. The main reason behind this was to move from log4net to WAD and in doing so, of course directly
    move to the new diagnostics version.
    Now, I get the same error message in Visual Studio:
    11:45:24 - Checking for Remote Desktop certificate...
    11:45:25 - Applying Diagnostics extension.
    11:45:45 - Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    With my small testing project - also two roles (service and worker) - everything is fine. However, I'm looking for a solution to make by existing production service working.
    Also the test project shows no Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml,
    but this is no problem - so what's the meaning of or solution to this error messages?
    What I found so far:
    I deployed the Azure project from the same development environment to another Azure test service: Deployment
    showed no errors and the service is running fine! So the problem is not with the source, the development environment, library dependencies etc.
    Trying Azure cmdlets for PowerShell also work fine for the new service and fails for the production service with almost the same error message:
    Following http://blogs.msdn.com/b/kwill/archive/2014/12/02/windows-azure-diagnostics-upgrading-from-azure-sdk-2-4-to-azure-sdk-2-5.aspx
    I tried:
    PS C:\> Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -DiagnosticsConfigurationPath $public_config -ServiceName $service_name -Slot 'Staging' -Role $role_name
    VERBOSE: Setting PaaSDiagnostics configuration for MyWebRole.
    Set-AzureServiceDiagnosticsExtension : BadRequest : Published Asset Entry for Image
    Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    At line:1 char:1
    + Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -Diagnostic ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Set-AzureServiceDiagnosticsExtension], CloudException
        + FullyQualifiedErrorId : Microsoft.WindowsAzure.CloudException,Microsoft.WindowsAzure.Commands.ServiceManagement.
       Extensions.SetAzureServiceDiagnosticsExtensionCommand
    The problem seems to be related to those service configuration parts in the cloud which are not replaced
    by a new deployment... So what are possible reasons or fixes for this behaviour?
    Best regards,
     Andreas

  • Visual studio 2013 update 4 will not install

    I am currently running visual studio 2013 Version 3, and i recently just downloaded the update 4 file.  I've tried installing it multiple times but all it does is show the splash screen and then wink out.  Checked the task processes and its not
    running.  I've checked the event log, and nothing interesting in there either.  I copied the file to another machine and it ran fine, so i know the file is good.  I've also downloaded the DVD ISO version of the updater from MSDN, with the same
    results.  Am i missing something?  Is there a different way i can debug this to find out why it's not working for me?  Thanks for any help!
    Phil Johnson

    Hi there.  I actually am entirely up to date on windows update, i show nothing needs to install there.  
    I am running F-secure, but when i go into services and disable all of the F-secure services, I still get the same problem.
    When i run the update file, i get 3 new files that occur in my temp folder.  Below is the contents of the log file that is created:
    [2520:2C8C][2014-11-16T20:02:23]i001: Burn v3.7.3424.0, Windows v6.3 (Build 9600: Service Pack 0), path: C:\Users\phil.johnson\Downloads\VS2013.4.exe, cmdline: ''
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'EditionDisplayName' to value '#loc.vsupdatededitiondisplayname'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'FactorMsi' to value '1.3'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing numeric variable 'MoreLanguageFwlinkId' to value '427825'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing numeric variable 'PrivacyAgreementFwlinkId' to value '427803'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing numeric variable 'PrivacyStatementFwlinkId' to value '427803'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing numeric variable 'MinOsLevelFwlinkId' to value '427813'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing numeric variable 'SolutionFwlinkId' to value '427804'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing numeric variable 'HelpFwlinkId' to value '427805'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing numeric variable 'IE10FwlinkId' to value '427807'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing numeric variable 'WinBlueFwlinkId' to value '427810'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing numeric variable 'SHA256BlockFwlinkId' to value '427811'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing numeric variable 'Win81PreRelBlockFwlinkId' to value '427809'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'NetfxProductVersion' to value '4.5.31101'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'ProfessionalVSVersion' to value '11.0.50727'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'BaselineBundleVersion' to value '12.0.21005'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'FirstSlipstreamBundleVersion' to value '12.0.21006'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'ProductKey' to value 'VVXKCDCCWD3B29PWQK2C3GYD7'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'PerfToolsRES_LangRelevant_chs' to value 'true'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'PerfToolsRES_LangRelevant_cht' to value 'true'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'PerfToolsRES_LangRelevant_csy' to value 'true'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'PerfToolsRES_LangRelevant_deu' to value 'true'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'PerfToolsRES_LangRelevant_esn' to value 'true'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'PerfToolsRES_LangRelevant_fra' to value 'true'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'PerfToolsRES_LangRelevant_ita' to value 'true'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'PerfToolsRES_LangRelevant_jpn' to value 'true'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'PerfToolsRES_LangRelevant_kor' to value 'true'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'PerfToolsRES_LangRelevant_plk' to value 'true'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'PerfToolsRES_LangRelevant_ptb' to value 'true'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'PerfToolsRES_LangRelevant_rus' to value 'true'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'PerfToolsRES_LangRelevant_trk' to value 'true'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'Win8Dev_Dev11Path' to value '[ProgramFilesFolder]Microsoft Visual Studio 11.0\'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'Dev11_UT_Path' to value '[ProgramFilesFolder]Microsoft Visual Studio 11.0\'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'WinSDK_Common_KitsRootPath' to value '[ProgramFilesFolder]Windows Kits\8.0\'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'Dev11_VC_Path' to value '[ProgramFilesFolder]Microsoft Visual Studio 11.0\'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing numeric variable 'IsChainingx64VSTODT' to value '1'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing numeric variable 'IsChainingx86VSTODT' to value '1'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing numeric variable 'IsChainingx64VSTORT' to value '1'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing numeric variable 'IsChainingx86VSTORT' to value '1'
    [2520:2C8C][2014-11-16T20:02:23]i000: Initializing string variable 'Include_WindowsPhoneAppxEmulator' to value 'true'
    [2520:2C8C][2014-11-16T20:02:23]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\PHIL~1.JOH\AppData\Local\Temp\dd_vsupdate_KB2829760_20141116200223.log'
    [2520:2C8C][2014-11-16T20:02:23]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\phil.johnson\Downloads\VS2013.4.exe'
    [2520:2C8C][2014-11-16T20:02:23]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\phil.johnson\Downloads\'
    [2520:2C8C][2014-11-16T20:02:23]i000: Setting string variable 'WixBundleName' to value 'Visual Studio 2013 Update 4 (KB2829760)'
    [2520:2C8C][2014-11-16T20:02:23]i000: Loading managed bootstrapper application.
    [2520:2C8C][2014-11-16T20:02:23]e000: Error 0x80070002: Failed to create the managed bootstrapper application.
    [2520:2C8C][2014-11-16T20:02:23]e000: Error 0x80070002: Failed to create UX.
    [2520:2C8C][2014-11-16T20:02:23]e000: Error 0x80070002: Failed to load UX.
    [2520:2C8C][2014-11-16T20:02:23]e000: Error 0x80070002: Failed while running 
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: BaselineBundleVersion = 12.0.21005
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: Dev11_UT_Path = C:\Program Files (x86)\Microsoft Visual Studio 11.0\
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: Dev11_VC_Path = C:\Program Files (x86)\Microsoft Visual Studio 11.0\
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: EditionDisplayName = #loc.vsupdatededitiondisplayname
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: FactorMsi = 1.3
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: FirstSlipstreamBundleVersion = 12.0.21006
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: HelpFwlinkId = 427805
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: IE10FwlinkId = 427807
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: Include_WindowsPhoneAppxEmulator = true
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: IsChainingx64VSTODT = 1
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: IsChainingx64VSTORT = 1
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: IsChainingx86VSTODT = 1
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: IsChainingx86VSTORT = 1
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: MinOsLevelFwlinkId = 427813
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: MoreLanguageFwlinkId = 427825
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: NetfxProductVersion = 4.5.31101
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PerfToolsRES_LangRelevant_chs = true
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PerfToolsRES_LangRelevant_cht = true
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PerfToolsRES_LangRelevant_csy = true
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PerfToolsRES_LangRelevant_deu = true
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PerfToolsRES_LangRelevant_esn = true
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PerfToolsRES_LangRelevant_fra = true
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PerfToolsRES_LangRelevant_ita = true
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PerfToolsRES_LangRelevant_jpn = true
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PerfToolsRES_LangRelevant_kor = true
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PerfToolsRES_LangRelevant_plk = true
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PerfToolsRES_LangRelevant_ptb = true
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PerfToolsRES_LangRelevant_rus = true
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PerfToolsRES_LangRelevant_trk = true
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PrivacyAgreementFwlinkId = 427803
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: PrivacyStatementFwlinkId = 427803
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: ProductKey = VVXKCDCCWD3B29PWQK2C3GYD7
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: ProfessionalVSVersion = 11.0.50727
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: ProgramFilesFolder = C:\Program Files (x86)\
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: SHA256BlockFwlinkId = 427811
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: SolutionFwlinkId = 427804
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: Win81PreRelBlockFwlinkId = 427809
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: Win8Dev_Dev11Path = C:\Program Files (x86)\Microsoft Visual Studio 11.0\
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: WinBlueFwlinkId = 427810
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: WinSDK_Common_KitsRootPath = C:\Program Files (x86)\Windows Kits\8.0\
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: WixBundleAction = 5
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: WixBundleElevated = 0
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: WixBundleLog = C:\Users\PHIL~1.JOH\AppData\Local\Temp\dd_vsupdate_KB2829760_20141116200223.log
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: WixBundleManufacturer = Microsoft Corporation
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: WixBundleName = Visual Studio 2013 Update 4 (KB2829760)
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: WixBundleOriginalSource = C:\Users\phil.johnson\Downloads\VS2013.4.exe
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: WixBundleOriginalSourceFolder = C:\Users\phil.johnson\Downloads\
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: WixBundleProviderKey = vsupdate_KB2829760
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: WixBundleTag = vsupdate_KB2829760,1033
    [2520:2C8C][2014-11-16T20:02:23]i410: Variable: WixBundleVersion = 12.0.31101.0
    [2520:2C8C][2014-11-16T20:02:23]e000: Error 0x80070002: Failed to run per-user mode.
    [2520:2C8C][2014-11-16T20:02:24]i007: Exit code: 0x80070002, restarting: No
    Phil Johnson

  • Not able to properly install "Tools for Apache Cordova for Visual Studio 2013"

    Hi,
    I am using visual studio 2013 ultimate running on a 64-bit windows 7 home premium.
    When I tried to install the "Tools for Apache Cordova for Visual Studio 2013", the installation completed but showed the following error in the end. This is what the error says:
    "  Joyent Node.js
        Invalid command line argument. Consult the Windows Installer SDK for detailed command line help.  "
    I thought maybe windows phone SDK 8 is not installed on my pc.( as mentioned in the requirements here: https://msdn.microsoft.com/en-in/library/dn757054.aspx). I tried to install the SDK, by choosing modify from the control panel (as
    mentioned in the same link above), but it didn't show "Windows Phone SDK" on the list. And Microsoft says that you cannot install the SDK v8.0 on windows 7. Please help me with this.

    OK...
    1)  So, how do I write JavaScript code? There is only one option when I select JavaScript form the "New Project" window and that says "Blank App (Apache Cordova)". when I try to create one it shows all these errors:
    " We've detected issues with your system's environment configuration
       Apple iTunes - software is missing from your computer.
       WebSocket4Net - software is missing from you computer. You may also have to configure it after installation."
    2)  I don't have iTunes on my computer. So, Is there a way to do it without installing iTunes?
    3)  And I've already installed the "WebSocket4Net", using both the "vs2013_mda0.3" setup and manually. But nothing worked. So what to do about it.?

Maybe you are looking for