MTOUCH:错误MT2002:无法解析" System.Void PropertyChanged.ImplementPropertyChangedAttribute ::构造函数()&#34。参考 来自" MvvmCross.Core,Version = 4.0.0.0,Culture = neutral, 公钥=空"
以下错误来自编译环境 单声道框架4.8.1 Xamarin Studio 6.3(863)
答案 0 :(得分:0)
当FodyWeavers.xml文件的构建操作设置为" none"而不是"内容"。
答案 1 :(得分:0)
我遇到了类似的问题,我的PCL引用了错误的import ReactLoading from 'react-loading'
class App extends React.Component {
state = {
isLoading: true
};
componentDidMount() {
setTimeout(() => this.setState({ isLoading: false }), 2000); // do your async call
}
render() {
if(this.state.isLoading) { // if doing asyng things
return <ReactLoading type={type} color={color} height='667' width='375' />; // render the loading component
}
return (
<div>Content</div>
);
}
}
ReactDOM.render(
<App />,
document.getElementById('app')
);
版本。
我卸载并重新安装了Newtonsoft.JSON
和Fody
个软件包。这通过更正引用来解决我的问题。