The latest version of Reinforced.Typings, 1.4.0, is causing build crashes when upgrading from the previous version 1

Recently, I updated my C# 4.5.1 .NET library named "ViewModels" to the newest 1.4.0 version of the Reinforced.Typings library/tool using NuGet. This tool allows me to convert my C# code to .ts files.

During the upgrade process, I chose not to overwrite the .xml configuration file and instead manually compared it with the newly provided readme.txt file to see if any significant changes had been made. I noticed that the xml tag had lost its attributes in version 1.4.0, specifically the ones related to the build process and tools version:

ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"

As a result, the build started crashing, prompting me to reinstate these attributes to avoid errors. After adding these back, I encountered two new issues related to the RtCli of the Reinforced.Typings library, which I am currently unable to resolve:

Severity Description File Code Project Line Suppression State Error The "RtCli" task could not be initialized with its input parameters. ViewModels

and...

Severity Description File Code Project Line Suppression State Error The "BuildDirectory" parameter is not supported by the "RtCli" task. Verify the parameter exists on the task, and it is a settable public instance property. ViewModels

Though I appreciate the updates made to the tool, I have decided to revert back to version 1.3.7 for now to avoid these issues.

If the author or anyone else reading this could offer assistance, it would be greatly appreciated.

Answer №1

We recommend cleaning up your local NuGet cache by deleting the reinforced.typings directory located in

C:\Users\%username%\.nuget\packages\
. This can help resolve any issues you may be experiencing. Once done, reinstall Reinforced.Typings.

If you are encountering problems due to an outdated version of RT's integration MSBuild task, try killing any MSBuild processes from the task manager. This can sometimes prevent the tasks assembly from being locked.

As for the .settings.xsml header, it should work fine in VS2017 (msbuild 15). We will also add a mention of this in the readme.txt for clarification.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Client-side condition handling in Angular 2

How can I change the icon image on a block/unblock button based on the user's active status? For example, showing an unlock image when the user is active and vice versa. Image https://i.stack.imgur.com/aM0ff.png Html <link href="../../font-aw ...

Are argument types in WF4 restricted to only .NET types?

Having trouble setting a workflow argument to a custom type 'Contact' class. No luck finding it in the explorer despite trying everything. The only things visible under my namespace are the names of my xaml files, App and MainWindow1. What' ...

Clicking on the Update Button in the form view

I am currently facing an issue with a webpage (manage-darkhast-maghale.aspx) that contains a gridview and sqldatasource. One of the columns in the gridview is a hyperlink that, when clicked, should redirect users to another page (pasokhmaghale.aspx?darkhas ...

The assignment of Type Observable<Observable<any[]>> to Observable<any[]> is not valid

Working on implementing autocomplete using data from a database service: @Injectable() export class SchoolService { constructor(private db: AngularFirestore) { } getSchools(): Observable<School[]> { return this.db.collection<School> ...

Attempting to invoke a TypeScript firebase function

I'm currently working on incorporating Firebase functions in my index.ts file: import * as functions from "firebase-functions"; export const helloWorld = functions.https.onRequest((request, response) => { functions.logger.info(" ...

Step-by-step guide on integrating StyleX into your fresh React project

As I delve into my new project, incorporating StyleX has proven to be a bit challenging especially when working with NextJS. I find myself grappling with configuring the "next.config.js" file without causing conflicts with the existing "babel.config.js" f ...

What causes a standard React component with a default render prop to not pass PropTypes validation successfully?

I'm currently working on a React component with a render-prop that has a generic type. To improve usability, I want to set a default value for the render-prop. The code is functioning correctly, but during type-checking, I encountered a warning regard ...

Guide on creating a custom type for an object utilizing an enum framework

Enumerating my shortcuts: export enum Hotkey { MARK_IN = 'markIn', MARK_OUT = 'markOut', GO_TO_MARK_IN = 'goToMarkIn', GO_TO_MARK_OUT = 'goToMarkOut' } I am now looking to define a type for a JSON ob ...

Verify if the specified key is present in the type parameter and if it corresponds to the expected data type in the value parameter

I have a specific goal in mind: export interface GCLPluginConfig { [key: string]: string | number | boolean | Date | string[]; } export interface CorePluginConfig extends GCLPluginConfig { "core.lastUpdateCheck": Date; } export interface An ...

What is the best way to retrieve the final value stored?

This is how I am using my Selector:- private loadTree() { this.loading = true; this.store.select(transitionListSelector).pipe().subscribe(data => { console.log(data); data.map(item => { console.log(item); this.tr ...

What kind of data type should the value property of Material UI TimePicker accept?

While reviewing the documentation, I noticed that it mentions any, but there is no clear indication of what specific data types are supported. The value sent to the onChange function appears to be an object rather than a Date object, and in the TypeScrip ...

Tips on Showing a Unique List in Mat-Table?

Here's what I'm trying to accomplish: I have a list and I want to display it without any duplicates. I attempted using the code (this.model.map(x => x.map), but it resulted in an error. Can anyone help me fix this? model: myModel[]; myObj:any; ...

How can we enhance intellisense to recognize instance members of an interface when using dynamic indices?

In the midst of developing an angular project, I am currently utilizing an interface to specify a configuration for a module. The design of the interface revolves around mapping names to objects and is relatively straightforward: export interface NamedRou ...

The promise of returning a number is not compatible with a standalone number

I am currently working on a function that retrieves a number from a promise. The function getActualId is called from chrome.local.storage and returns a promise: function getActualId(){ return new Promise(function (resolve) { chrome.storage.syn ...

JavaScript Auto-Closing Modal Pop-Up in HTML

I am looking to implement a feature similar to what is seen on Banks or American Express websites, where a MODAL Popup notifies users that their session is about to expire. In addition to this, I would like to include an "Auto-Close" Popup event that will ...

The program cannot locate the reference to the 'NUnit' type or namespace

Recently, I encountered an issue with a c# code that was exported from Selenium IDE. using System; using System.Text; using System.Text.RegularExpressions; using System.Threading; using NUnit.Framework; using Selenium; namespace SeleniumTests { [TestFixt ...

Using Connector/NET for implementing an Associative Array, Hash, or Hashtable

Currently, I am utilizing asp.NET and c# for my project, employing the MySQL's connector/NET plugin to establish a connection with a MySQL database, which is pretty standard. Everything is functioning smoothly - I am able to connect, execute queries, ...

Issue when transferring properties of a component to a component constructed Using LoadingButton MUI

Check out my new component created with the LoadingButton MUI: view image description here I'm having issues passing props to my component: view image description here Dealing with a TypeScript problem here: view image description here I can resolv ...

Inquiries about the JavaScriptSerializer technology

Is it possible to exclude certain fields from a class when serializing using JavaScriptSerializer? Can the names of fields be changed during serialization using JavaScriptSerializer? For instance, if the field is a string called is_O ...

Is there a way to stop Material UI from dulling the color of my AppBar when using dark mode in my theme?

When I use mode: "dark" in my Material UI theme, it causes the color of my AppBar to become desaturated. Switching it to mode: "light" resolves this issue. This is how my theme is configured: const theme = createTheme({ palette: { ...